0

I have converted a SWF banner to HTML5 using Swiffy. How can I embed it in a post? Moreover, I have several banner sizes, how can I make it responsive?

Unheilig
  • 16,196
  • 193
  • 68
  • 98
gbox
  • 809
  • 1
  • 8
  • 22

2 Answers2

1

Go to https://developers.google.com/swiffy/convert/upload Then upload swf file . You can download by pressing "ctrl + S"

You can use javascript or media queries (css) for checking device width.

Arshid KV
  • 9,631
  • 3
  • 35
  • 36
  • Sadly, this doesn't answer the question 'how to insert swiffy output into a wordpress post' – robro Apr 20 '16 at 09:14
0

When using the HTML Swiffy Insert Plugin you might want to check out this post: http://itekblog.com/fix-wordpress-plugin-html5-swiffy-insert/

However, I haven't tried the steps mentioned there went with their own plugin instead:

ER Swiffy Insert

I used the online Swiffy converter and downloaded the output, which included a runtime.js. Make sure to open it and check the version on line 4, mine was Swiffy runtime version 7.4.1.

Use that version in the shortcode as described in the documentation linked above. I'm on wordpress 4.5 and using the shortcode [swiffy n="1" w="700" h="300" v="7.4.1"] worked for me. Using a version that's different from the one in the runtime.js you downloaded may result in nothing being displayed.

Paste your Swiffy code into a custom field named swiffy_1.

Minor caveat: contrary to the documentation – which obviously was written for Swiffy 5.x, not 7.x – my Swiffy code starts with swiffyobject = {"as3":false,"frameRate":25,"frameCount":1...

robro
  • 1,730
  • 23
  • 26