Friday, December 13, 2013

WordPress Plugin: Royal Slider

I was working with the Royal Slider plugin on a WordPress site. I needed to allow the slider show images and SWF, however, there did not appear to be any option to allow a SWF file to be dragged and dropped even as an image. Sometime I forget the simplest things. I was trying to read the documentation, scour the suppport forum for a way that the slider would allow me to do this. I am mean it is pretty simple HTML markup -- HA! Yes, and there it is, the Royal Slider allows you to put HTML Markup for a slide. So that is all you have to do insert your object markup there..
  1. <div id="flashContent" style="text-align:center">
  2. <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="550" height="400" id="test" align="middle">
  3. <param name="movie" value="http://test.swf"/>
  4. <param name="quality" value="high" />
  5. <param name="bgcolor" value="#ffffff" />
  6. <param name="play" value="true" />
  7. <param name="loop" value="false" />
  8. <param name="wmode" value="transparent" />
  9. <param name="scale" value="showall" />
  10. <param name="menu" value="true" />
  11. <param name="devicefont" value="false" />
  12. <param name="salign" value="" />
  13. <param name="allowScriptAccess" value="sameDomain" />
  14. <!--[if !IE]>-->
  15. <object type="application/x-shockwave-flash" data="test.swf" width="550" height="400">
  16. <param name="movie" value="test.swf" />
  17. <param name="quality" value="high" />
  18. <param name="bgcolor" value="#ffffff" />
  19. <param name="play" value="true" />
  20. <param name="loop" value="false" />
  21. <param name="wmode" value="transparent" />
  22. <param name="scale" value="showall" />
  23. <param name="menu" value="true" />
  24. <param name="devicefont" value="false" />
  25. <param name="salign" value="" />
  26. <param name="allowScriptAccess" value="sameDomain" />
  27. <!--<![endif]-->
  28. <a href="http://www.adobe.com/go/getflash">
  29. <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
  30. </a>
  31. <!--[if !IE]>-->
  32. </object>
  33. <!--<![endif]-->
  34. </object>
  35. </div>

No comments:

Post a Comment