javascript - SWFObject / load smil file -


why not working?

<div class="videocontainer" id='mediaspace-55'></div> <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js?ver=3.0.1'></script>     <script type='text/javascript'><!--             var flashvars = {               provider: "highwinds",               file: "http://hwcdn.net/xxxxx/fms/pathtofile.smil",               image: "test.jpg"             };             var params = {               allowfullscreen: "true",               allowscriptaccess: "always"             };             var attributes = {               id: "mediaspace-55",               name: "mediaspace-55"             };             swfobject.embedswf("player.swf", "mpl55", "710", "420", "9.0.0","expressinstall.swf", flashvars, params, attributes);  //            playerready('mediaspace-55', 'additional_variable');     //--> </script> 

i verified linked files exists.

i spent days working on simple javascript functionality (i not javascript programmer) , want finalize project, stopped working. :-(

it appears api has changed, try this:

swfobject.embedswf("http://mydomain.com/player/player.swf", "mpl55", "710", "420", "9.0.0", "expressinstall.swf"); 

documentation here: http://code.google.com/p/swfobject/wiki/documentation


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -