KickApps: rewrite media play page flash wmode


/ Published in: JavaScript
Save to your folder(s)

Wrap in script tags and place at the bottom of your AC.


Copy this code and paste it in your HTML
  1. if ($('ka_playPagePlayer')) {
  2. $j(window).load(function () {
  3.  
  4. $j('#ka_playPagePlayer').html('<span id="ka_playPagePlayer_inner"></span>');
  5.  
  6. var flashvars = {
  7. affiliateSiteId: Ka.Info.AFFILIATESITEID,
  8. widgetId: Ka.Info.MEDIAWIDGETID,
  9. mediaType_mediaID: "video_" + Ka.Info.MEDIAID,
  10. width: Ka.Info.MEDIAWIDTH,
  11. height: Ka.Info.MEDIAHEIGHT
  12. }
  13. var params = {
  14. menu: "false",
  15. allowfullscreen: "true",
  16. allowscriptaccess: "always",
  17. wmode: "transparent"
  18. };
  19. var attributes = {
  20. id: "kickWidget_1_" + Ka.Info.MEDIAWIDGETID
  21. };
  22. var expressInstallURL = "http://serve.a-widget.com/kickapps/kickFlash/scripts/expressInstall2.swf";
  23. var swfURL = "http://serve.a-widget.com/service/getWidgetSwf.kickAction";
  24. swfobject.embedSWF(swfURL, "ka_playPagePlayer_inner", "420px", "338px", "9.0.28", expressInstallURL, flashvars, params, attributes);
  25.  
  26. });
  27. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.