Skip to main content

Solved: Safari Flash full screen issue

Some common problems when trying to use Flash video embed code (e.g., YouTube like embed code)

1. When using lightbox on the page, it's getting hidden behind the Flash video player

Solution: Add wmode="transparent" to the embed tag

2. On IE7, getting "click to activate"

Solution: Inject the embed code through JavaScript. (Useful libraries: jQuery Flash Plugin, SWFObject)

3. XHTML validation issue

Solution: Use unobtrusive JavaScript embedding. (Useful libraries: jQuery Flash Plugin, SWFObject)

4. On Safari the full screen doesn't work -- even if we add allowfullscreen="true" (this is the issue I faced lately and google wasn't helpful). In all other browsers, it works fine.

Solution: Add type="application/x-shockwave-flash" to the embed tag

Comments

Ohmkumar said…
Nice Post...

2. On IE7, getting "click to activate"

Solution: Inject the embed code through JavaScript. (Useful libraries: jQuery Flash Plugin, SWFObject)


for this most of the persons are using ieupdate.js

http://www.devils2k.com/?cat=14&paged=2
Ohmkumar:

Thanks for letting me know about ieupdate.js
Unknown said…
This comment has been removed by a blog administrator.

Popular posts from this blog

Stampede and the "Dirty" "Dark" Crowd

Actor Ajith Kumar’s recent interview has sparked quite a few conversations on social media. The part that caught my attention, was his take on crowds. About 30 years ago, when I first joined a college in Madurai after growing up in other places, I experienced a few cultural shocks. Perhaps these weren’t unique to Madurai, but that’s where I first noticed them. One major thing that stood out was the behavior of crowds. For instance, if you suddenly see people rushing to board a bus, chances are there’s a pickpocket in action. During one of Madurai's annual festivals, I noticed some young men carrying water bags — not to distribute water, but to spill it on women, often on their chests. Shockingly, this was almost normalized; parents would quietly tolerate it to avoid public embarrassment, walking a little farther behind the crowd. When some women happened to witness this, they would just shoo the boys away instead of confronting them. The crowd, in such cases, became a kind of...

Converting PSD with PHP/ImageMagick

After seeing feature rich options in Imagick PECL extension at Mikko Koppanen 's (the author) website and also impressed with ImageMagick 's features, I have decided to use it for the PSD to XHTML conversion website that I'm architecting and managing. Since, the team wants programming help for converting PSD images, I have tried it (documentation is sparse on PSD handling) Converting PSD to PNG/JPEG/etc Note that, flattenImages() is needed for layered/multi-page PSD file. <?php $im = new Imagick('test.psd'); $im->flattenImages(); $im->setImageFormat('png'); $im->writeImage('test.png'); ?> Extracting PSD layers One by one <?php $im = new Imagick('test.psd'); $im->setImageFormat('png'); for ($i = 0, $num_layers = $im->getNumberImages(); $i $im->setImageIndex($i); $im->writeImage('layer' . $i . '.png'); } ?> Note that, there is a better version below In a single call with writeIm...

Blogging Divides Family

 I was surprised to find out that Heleena reads my blog and took one of my posts personally—thinking it was about her. To be honest, she never crossed my mind when I wrote that piece. However, convincing her of that has been tough. She tends to hold a grudge for a couple of months and waits for the right moment to give back to me! Disclosure: The following ChatGPT prompt is used in this blog post: Please fix the language of the below text and highlight the changes in bold: