Project:FLV Media Player
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

neither the fullscreen or autostart options take any effect. Attached patch seems to fix this.

diff -Naur ../flvmediaplayer/players/jw_player_4.x.inc ./players/jw_player_4.x.inc
--- ../flvmediaplayer/players/jw_player_4.x.inc 2009-05-01 17:55:59.000000000 +0100
+++ ./players/jw_player_4.x.inc 2009-05-01 17:55:55.000000000 +0100
@@ -307,15 +307,15 @@
     '#collapsed' => true,
   );

-  $form['playback']['param_fullscreen'] = array(
+  $form['playback']['param_allowfullscreen'] = array(
     '#title' => t('Allow fullscreen'),
     '#type' => 'checkbox',
     '#return_value' => 'true',
-    '#default_value' => $config['param_fullscreen'],
+    '#default_value' => $config['param_allowfullscreen'],
     '#description' => t('Enable fullscreen display'),
   );
-
-  $form['playback']['flvmp_autostart'] = array(

+  $form['playback']['flashvar_autostart'] = array(
     '#title' => t('Autostart'),
     '#type' => 'checkbox',
     '#default_value' => $config['flashvar_autostart'],
AttachmentSize
flvmediaplayer-fullscreen-autostart.patch895 bytes

Comments

#1

UPDATE:
The paramater 'allowscriptaccess' must be set to 'always' not 'true' in order to work in all browsers. When set to 'true', fullscreen does not work in IE. This updated patch also changes the paramater value for allowscriptaccess to 'always'

AttachmentSize
flvmediaplayer-fullscreen-autostart.patch 1.27 KB

#2

Status:active» needs review

#3

Thanks, these are committed to the dev branch

#4

Status:needs review» fixed

#5

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#6

Status:closed (fixed)» active

You did not apply the updated patch, and so allowscriptaccess is still set to 'true', which is incorrect - it should be 'always' as per my patch at #1

#7

Version:6.x-1.0-beta3» 6.x-1.x-dev

Actually, it seems that you have muddled the values for fullscreen and autostart. Please apply this patch to correct.

AttachmentSize
flvmediaplayer-fullscreen-autostart-fix.patch 974 bytes
nobody click here