ouyang789987 / swfobject

Automatically exported from code.google.com/p/swfobject
0 stars 0 forks source link

SWFObject allowfullscreen param doesn't work on IE #541

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to: http://lifeasweknowitmovie.warnerbros.com/dvd/#/video/
2. Wait for video to load
3. Mouse over the video and click the fullscreen button on bottom right

What is the expected output? What do you see instead?
Video should go to fullscreen like FireFox or Chrome

What version of the product are you using? On what operating system?
Internet Explorer 8 or 9 has the same behavior. OS can be Windows XP/Vista/Win7

Please provide any additional information below.

Further examination shows this in the webpage's script:

<script type="text/javascript">swfobject.embedSWF('main.swf', 'website', 
'100%', '1335', '9', 'media/flash/expressinstall.swf', {}, {bgcolor: '#FFFFFF', 
menu: 'false' , allowScriptAccess:"true", allowfullscreen: "true"}, {id: 
'website'});                    </script>

The allowfullscreen:”true” pair actually tells Flash to enable fullscreen. 
For some reasons, this call does not happen in IE and causes fullscreen 
(button) not to function.

Original issue reported on code.google.com by fplayer2...@gmail.com on 10 Mar 2011 at 12:09

GoogleCodeExporter commented 9 years ago
That swf has runtime errors which stop it displaying correctly. Run a debug 
version of the Flash player, and you will see:

TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
    at com.google.analytics.campaign::CampaignTracker/_addIfNotEmpty()
    at com.google.analytics.campaign::CampaignTracker/toTrackerString()
    at com.google.analytics.campaign::CampaignManager/getCampaignInformation()
    at com.google.analytics.v4::Tracker/_initData()
    at com.google.analytics.v4::Tracker()
    at com.google.analytics::GATracker/_trackerFactory()
    at com.google.analytics::GATracker/_factory()
    at com.google.analytics::GATracker()
    at com.wb.lawki.tracking::GoogleTracking/init()
    at com.wb.lawki.epk.core::Main/menuComplete()

Original comment by aran.rhee@gmail.com on 22 Mar 2011 at 5:51

GoogleCodeExporter commented 9 years ago
In addition allowScriptAccess has an invalid value which may stop the 
fullscreen from working. See valid values here:

http://kb2.adobe.com/cps/403/kb403183.html

Original comment by aran.rhee@gmail.com on 22 Mar 2011 at 5:55

GoogleCodeExporter commented 9 years ago
Thanks for your input.

Original comment by fplayer2...@gmail.com on 2 May 2011 at 8:17