r104376 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104375‎ | r104376 | r104377 >
Date:23:21, 27 November 2011
Author:dale
Status:ok
Tags:
Comment:
restored EmbedPlayer.config.php
Modified paths:
  • /trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/EmbedPlayer.config.php (added) (history)

Diff [purge]

Index: trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/EmbedPlayer.config.php
@@ -0,0 +1,113 @@
 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+ // If the video player should attribute kaltura
 33+ "EmbedPlayer.KalturaAttribution" => true,
 34+
 35+ // The attribution button
 36+ 'EmbedPlayer.AttributionButton' => array(
 37+ 'title' => 'Kaltura html5 video library',
 38+ 'href' => 'http://www.kaltura.org/project/HTML5_Video_Media_JavaScript_Library',
 39+ // Style icon to be applied
 40+ 'class' => 'kaltura-icon',
 41+ // An icon image url ( should be a 12x12 image or data url )
 42+ 'iconurl' => false
 43+ ),
 44+
 45+ // If the player should wait for metadata like video size and duration, before trying to draw
 46+ // the player interface.
 47+ 'EmbedPlayer.WaitForMeta' => true,
 48+
 49+ // Set the browser player warning flag displays warning for non optimal playback
 50+ "EmbedPlayer.ShowNativeWarning" => true,
 51+
 52+ // If a fullscreen tip to press f11 should be displayed when entering fullscreen
 53+ "EmbedPlayer.FullscreenTip" => true,
 54+
 55+ // if the browser should display a warning for direct file links:
 56+ "EmbedPlayer.DirectFileLinkWarning" => false,
 57+
 58+ // A link to download firefox
 59+ "EmbedPlayer.FirefoxLink" => 'http://www.mozilla.com/en-US/firefox/upgrade.html?from=mwEmbed',
 60+
 61+ // If fullscreen is global enabled.
 62+ "EmbedPlayer.EnableFullscreen" => true,
 63+
 64+ // If the options control bar menu item should be enabled:
 65+ 'EmbedPlayer.EnableOptionsMenu' => true,
 66+
 67+ // If mwEmbed should use the Native player controls
 68+ // this will prevent video tag rewriting and skinning
 69+ // useful for devices such as iPad / iPod that
 70+ // don't fully support DOM overlays or don't expose full-screen
 71+ // functionality to javascript
 72+ "EmbedPlayer.NativeControls" => false,
 73+
 74+ // If mwEmbed should use native controls on mobile safari
 75+ "EmbedPlayer.NativeControlsMobileSafari" => true,
 76+
 77+
 78+ // The z-index given to the player interface during full screen ( high z-index )
 79+ "EmbedPlayer.FullScreenZIndex" => 999998,
 80+
 81+ // The default share embed mode ( can be "iframe" or "xssVideo" )
 82+ //
 83+ // "iframe" will provide a <iframe tag pointing to mwEmbedFrame.php
 84+ // Object embedding should be much more compatible with sites that
 85+ // let users embed flash applets
 86+ // "xssVideo" will include the source javascript and video tag to
 87+ // rewrite the player on the remote page DOM
 88+ // Video tag embedding is much more mash-up friendly but exposes
 89+ // the remote site to the mwEmbed javascript and can be a xss issue.
 90+ "EmbedPlayer.ShareEmbedMode" => 'iframe',
 91+
 92+ // The skin framework list:
 93+ "EmbedPlayer.SkinList" => array( 'mvpcf', 'kskin' ),
 94+
 95+ // Default player skin name
 96+ "EmbedPlayer.DefaultSkin" => "mvpcf",
 97+
 98+ // Number of milliseconds between interface updates
 99+ 'EmbedPlayer.MonitorRate' => 250,
 100+
 101+ // If the embedPlayer should accept arguments passed in from iframe postMessages calls
 102+ 'EmbedPlayer.EnableIFramePlayerServer' => false,
 103+
 104+ // If embedPlayer should support server side temporal urls for seeking options are
 105+ // flash|always|none default is support for flash only.
 106+ 'EmbedPlayer.EnableURLTimeEncoding' => 'flash',
 107+
 108+ // The domains which can read and send events to the video player
 109+ 'EmbedPlayer.IFramePlayer.DomainWhiteList' => '*',
 110+
 111+ // If the iframe should send and receive javascript events across domains via postMessage
 112+ 'EmbedPlayer.EnableIframeApi' => true,
 113+
 114+ );

Status & tagging log