[thelist] flv player code and safari missing plugin

Bob Meetin bobm at dottedi.biz
Tue Aug 16 09:08:09 CDT 2011

<div  id='mediaspace'><a  href="http://get.adobe.com/flashplayer/  <view-source:http://get.adobe.com/flashplayer/>">Get Flashplayer</a></div>

Should the above work regardless of OS?

> On 08/14/2011 08:21 PM, Will wrote:
>> If they don't have flash (or javascript), they should see whatever markup you have inside of <div id='mediaspace'></div>. You can include instructions to download flash there.
>> On Sun, Aug 14, 2011 at 8:53 AM, Bob Meetin <bobm at dottedi.biz <mailto:bobm at dottedi.biz>> wrote:
>>     The problem: a safari user could not view the video because of a missing flash plugin (I think from what they said).
>> <script type='text/javascript' src='players/swfobject.js'></script>
>> <div id='mediaspace'></div>
>> <script type='text/javascript'>
>>      var so = new SWFObject('players/player.swf','mpl','190','167','9');
>>      so.addParam('allowfullscreen','true');
>>      so.addParam('allowscriptaccess','always');
>>      so.addParam('wmode','opaque');
>>      so.addVariable('file','http://www.youtube.com/watch?v=KN7jdI62F1U' <http://www.youtube.com/watch?v=KN7jdI62F1U%27>);
>>      so.write('mediaspace');
>> </script>
>>     I replaced the path for swfobject.js and player.swf with generic stuff for readability.
>>     I am thinking this is as easy as adding a line, a parameter perhaps,  into the code to instruct Safari, and maybe other browser, users where to download the missing flash plugin.
>>     --     Bob

More information about the thelist mailing list