I am a newbie, I use swfobject.js to play videos, the player address is ....swf, flashvars.url is the video address, how can I connect the video url and the player swf address,
to form a link swf ? url=.... This doesn't work. Is there a unified format? The source code of the web page does not have such an address. Please give me some advice
What does flashvars.eprovider mean?
<script type="text/javascript" src="swfobject.js"></script><script type="text/javascript"> var so = new SWFObject('player.swf','mpl','328','200','9');//播放swf so.addParam('allowscriptaccess','always'); so.addParam('allowfullscreen','true'); so.addParam('wmode','opaque'); so.addParam('flashvars','&file=xxx/video.flv&logo=logo.gif&autostart=true&controlbar=over&stretching=fill&skin=skin/stylish.swf&frontcolor=ffffff&lightcolor=cc9900&screencolor=FFFFFF'); so.write('container');</script>
Is this how LZ uses it? http://www.cnblogs.com/gaoxu387/archive/2011/10/26/2225429.html
Still don’t understand what you mean? LZ Do you hope that when you receive a format like a.swf?url=xxxxx, you can use a method to automatically convert it into a flashvars object and automatically call the player?
Yes, it is similar to Youku’s sharing function. There is a Fixed address, you only need to change the address behind the url to watch different videos. You can download this address directly to watch
0f6d8dfe44acaef004352b02e0019ffc/541b9609
This way, I want to make my videos more timely. Like this,
flashvars.eprovider=" Can this expert guide me?
How to calculate it? I want to add this 0f6d8dfe44acaef004352902e0019ffc/541b9609 to the root directory of the link address