how can i make and add swf files to blogger

Dani AI

Generated

asked how to make and add SWF files to Blogger; posted a helpful tutorial link and confirmed it. Important update up front: Adobe ended Flash support on December 31, 2020 and modern browsers block Flash by default, so embedding SWF is no longer a reliable approach for new projects (Adobe Flash Player EOL). Recommended options: convert the content to HTML5/video, or use an emulator like Ruffle for archived/legacy SWF content (Ruffle).

If you still need to embed an SWF on an older/archived page, host the .swf on an HTTPS-capable server and add it with Blogger’s HTML/JavaScript gadget. A minimal legacy embed looks like this:

<object width="640" height="480" data="https://example.com/your.swf" type="application/x-shockwave-flash">
  <param name="movie" value="https://example.com/your.swf" />
  <p>Flash not supported. Provide an HTML5 fallback instead.</p>
</object>

Safer modern approach: convert playable SWF animations to MP4 and embed with the HTML5 video element. Interactive ActionScript cannot be converted to video; conversion only works for linear animations. Example ffmpeg command:

ffmpeg -i input.swf -c:v libx264 -crf 23 -preset medium -c:a aac -b:a 128k output.mp4

Then embed:

<video controls width="640">
  <source src="https://example.com/your.mp4" type="video/mp4">
  Your browser does not support the video tag.
</video>

Troubleshooting tips: serve files over HTTPS to avoid mixed-content blocking; configure your server to send the correct MIME type (application/x-shockwave-flash) for SWF if using legacy embeds; test Ruffle for compatibility before relying on it for interactive SWFs. For current web projects, rebuild as HTML5/CSS/JS or use video formats for widest browser support (see MDN video docs for best practices: HTML5 video element).

Recommended Answers

All 2 Replies

hhmm the upper link is quite useful one in this regard

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.