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
javieth said…
This comment has been removed by a blog administrator.

Popular posts from this blog

Who is S.P. Udayakumar, (Koodankulam anti-nuclear) activist of the year

I greatly admired S.P. Udayakumar  (Koodankulam anti-nuclear activist) for his calm and composed response; it is usually not easy to reply moronic Narayanasamy and moronic Ponraj (advisor of Abdul Kalam) who're always blabbering irrationally. By wrongly judging from his sober and humble look, I'd thought that he's an illiterate villager from Koodankulam. But, recently I came to know that he's studied in USA and worked as a professor there. My respect for him greatly increased when I compared him with other exhibitionist NRIs.

Here are the details that I collected...

Name: S.P. Udayakumar
Age: 50
Native: Nagercoil
Family: Wife Meera running SACCER primary and middle school, 2-sons

Education

M.A. (Peace Studies) from Notre Dame University in the United States (1990)Ph.D. (Political Science) from the University of Hawaii (1996)
(Past) Occupation 

Research fellow at Kirwan InstituteProfessor at Governor's School of Public Issues and the Future of New Jersey at Monmouth Univer…

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 < $num_layers; ++$i) {
$im->setImageIndex($i);
$im->writeImage('layer' . $i . '.png');
}
?>


Note that, there is a better version below

In a single call with write…

Killers of Rajiv Gandhi - consolidated list with references

This is part of my Save Perarivalan series.


Who killed Rajiv Gandhi?... There are lots of theories about the killers. But, still Perarivalan and others are sentenced to capital punishment and few want them to be hanged. So, here is the consolidated list of Rajiv Gandhi killers--according to various theories:

Sonia Gandhi according to Subramanian Swamy. In his book Do You Know Your Sonia?, which is available online in Janata Party website, Subramanian Swamy alleges Sonia’s relationship with Madhavrao Scindia and LTTE.

Reference: Madhavrao’s friendship continued even after Sonia’s marriage to Rajiv...

My investigations into Sonia’s involvement in Rajiv’s assassination is therefore necessary. I am also author of a best seller titled Assassination Of Rajiv Gandhi—Unasked Questions and Unanswered Queries[published by Konark in 2000] in which I have given some indications of this possible conspiracy.
-- Do You Know Your Sonia? - by Dr. Subramanian Swamy
However, Sleuth Without A Clue. Smug tale…