Index: trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/EmbedPlayer.config.php |
— | — | @@ -1,119 +0,0 @@ |
2 | | -<?php |
3 | | - /** |
4 | | - * Do not edit this file instead use LocalSettings.php and |
5 | | - * $wgMwEmbedModuleConfig[ {configuration name} ] = value; format |
6 | | - */ |
7 | | - return array ( |
8 | | - // The relative ( or absolute ) path to the EmbedPlayer folder |
9 | | - 'EmbedPlayer.WebPath' => "modules/EmbedPlayer/", |
10 | | - |
11 | | - // If the player controls should be overlaid on top of the video ( if supported by playback method) |
12 | | - // can be set to false per embed player via overlayControls attribute |
13 | | - 'EmbedPlayer.OverlayControls' => true, |
14 | | - |
15 | | - // The preferred media codec preference |
16 | | - // Note user selected format order |
17 | | - 'EmbedPlayer.CodecPreference' => array( 'webm', 'h264', 'ogg' ), |
18 | | - |
19 | | - // If the iPad should use html controls ( can't use fullscreen or control volume, |
20 | | - // but lets you support overlays ie html controls ads etc. ) |
21 | | - 'EmbedPlayer.EnableIpadHTMLControls'=> false, |
22 | | - |
23 | | - 'EmbedPlayer.LibraryPage'=> 'http://www.kaltura.org/project/HTML5_Video_Media_JavaScript_Library', |
24 | | - |
25 | | - // jQuery selector of tags to be re-written by embedPlayer |
26 | | - // Set to empty string or null to avoid automatic video tag rewrites to embedPlayer |
27 | | - "EmbedPlayer.RewriteSelector" => "video,audio,playlist", |
28 | | - |
29 | | - // Default video size ( if no size provided ) |
30 | | - "EmbedPlayer.DefaultSize" => "400x300", |
31 | | - |
32 | | - // The height of the player controls: |
33 | | - 'EmbedPlayer.ControlsHeight' => 31, |
34 | | - |
35 | | - // Default time display size: |
36 | | - 'EmbedPlayer.TimeDisplayWidth' => 15, |
37 | | - |
38 | | - // If the video player should attribute kaltura |
39 | | - "EmbedPlayer.KalturaAttribution" => true, |
40 | | - |
41 | | - // The attribution button |
42 | | - 'EmbedPlayer.AttributionButton' => array( |
43 | | - 'title' => 'Kaltura html5 video library', |
44 | | - 'href' => 'http://www.kaltura.org/project/HTML5_Video_Media_JavaScript_Library', |
45 | | - // Style icon to be applied |
46 | | - 'class' => 'kaltura-icon', |
47 | | - // An icon image url ( should be a 12x12 image or data url ) |
48 | | - 'iconurl' => false |
49 | | - ), |
50 | | - |
51 | | - // If the player should wait for metadata like video size and duration, before trying to draw |
52 | | - // the player interface. |
53 | | - 'EmbedPlayer.WaitForMeta' => true, |
54 | | - |
55 | | - // Set the browser player warning flag displays warning for non optimal playback |
56 | | - "EmbedPlayer.ShowNativeWarning" => true, |
57 | | - |
58 | | - // If a fullscreen tip to press f11 should be displayed when entering fullscreen |
59 | | - "EmbedPlayer.FullscreenTip" => true, |
60 | | - |
61 | | - // if the browser should display a warning for direct file links: |
62 | | - "EmbedPlayer.DirectFileLinkWarning" => false, |
63 | | - |
64 | | - // A link to download firefox |
65 | | - "EmbedPlayer.FirefoxLink" => 'http://www.mozilla.com/en-US/firefox/upgrade.html?from=mwEmbed', |
66 | | - |
67 | | - // If fullscreen is global enabled. |
68 | | - "EmbedPlayer.EnableFullscreen" => true, |
69 | | - |
70 | | - // If the options control bar menu item should be enabled: |
71 | | - 'EmbedPlayer.EnableOptionsMenu' => true, |
72 | | - |
73 | | - // If mwEmbed should use the Native player controls |
74 | | - // this will prevent video tag rewriting and skinning |
75 | | - // useful for devices such as iPad / iPod that |
76 | | - // don't fully support DOM overlays or don't expose full-screen |
77 | | - // functionality to javascript |
78 | | - "EmbedPlayer.NativeControls" => false, |
79 | | - |
80 | | - // If mwEmbed should use native controls on mobile safari |
81 | | - "EmbedPlayer.NativeControlsMobileSafari" => true, |
82 | | - |
83 | | - |
84 | | - // The z-index given to the player interface during full screen ( high z-index ) |
85 | | - "EmbedPlayer.FullScreenZIndex" => 999998, |
86 | | - |
87 | | - // The default share embed mode ( can be "iframe" or "xssVideo" ) |
88 | | - // |
89 | | - // "iframe" will provide a <iframe tag pointing to mwEmbedFrame.php |
90 | | - // Object embedding should be much more compatible with sites that |
91 | | - // let users embed flash applets |
92 | | - // "xssVideo" will include the source javascript and video tag to |
93 | | - // rewrite the player on the remote page DOM |
94 | | - // Video tag embedding is much more mash-up friendly but exposes |
95 | | - // the remote site to the mwEmbed javascript and can be a xss issue. |
96 | | - "EmbedPlayer.ShareEmbedMode" => 'iframe', |
97 | | - |
98 | | - // The skin list ( should correspond to a folder in skins ) |
99 | | - "EmbedPlayer.SkinList" => array( 'mvpcf', 'kskin' ), |
100 | | - |
101 | | - // Default player skin name |
102 | | - "EmbedPlayer.DefaultSkin" => "mvpcf", |
103 | | - |
104 | | - // Number of milliseconds between interface updates |
105 | | - 'EmbedPlayer.MonitorRate' => 250, |
106 | | - |
107 | | - // If the embedPlayer should accept arguments passed in from iframe postMessages calls |
108 | | - 'EmbedPlayer.EnableIFramePlayerServer' => false, |
109 | | - |
110 | | - // If embedPlayer should support server side temporal urls for seeking options are |
111 | | - // flash|always|none default is support for flash only. |
112 | | - 'EmbedPlayer.EnableURLTimeEncoding' => 'flash', |
113 | | - |
114 | | - // The domains which can read and send events to the video player |
115 | | - 'EmbedPlayer.IFramePlayer.DomainWhiteList' => '*', |
116 | | - |
117 | | - // If the iframe should send and receive javascript events across domains via postMessage |
118 | | - 'EmbedPlayer.EnableIframeApi' => true, |
119 | | - ); |
120 | | -?> |