[thelist] flv player code and safari missing plugin
Will
willthemoor at gmail.com
Tue Aug 16 13:44:03 CDT 2011
Yep. You can turn JS off in your browser and browse some sites to see what other people are putting in there. I use the horribly named 'quickjava' plugin for firefox to easily disable JS and flash.
For seo and accessibly you can also use that div to add a text based version of the content that will be hidden if flash is available.
On Aug 16, 2011, at 7:08 AM, Bob Meetin <bobm at dottedi.biz> wrote:
> <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
>>>
> --
>
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
More information about the thelist
mailing list