Skip to content
Newer
Older
100644 77 lines (74 sloc) 3.13 KB
e2db512 @Whiteknight separate out some logic into specific files.
authored May 11, 2010
1 <?php
2
3 # Build services list (may be augmented in LocalSettings.php)
4 $wgEmbedVideoServiceList = array(
5 'dailymotion' => array(
6 'url' => 'http://www.dailymotion.com/swf/$1'
7 ),
3387288 @Whiteknight reorder services list to be alphabetical. Add alias interia->interiav…
authored May 19, 2010
8 'divshare' => array(
9 'url' => 'http://www.divshare.com/flash/video2?myId=$1',
10 ),
df75e23 @Whiteknight fix sizing on teachertube. Add preliminary edutopia support
authored Jun 12, 2010
11 'edutopia' => array(
12 'extern' => '<object width="$3" height="$4">' .
13 '<param value="flvPath=http://www.edutopia.org/media//.flv&pPath=http://www.edutopia.org/media//.jpg" name="FlashVars"/>' .
14 '<param value="best" name="quality"/>' .
15 '<param value="false" name="play"/>' .
16 '<param value="http://www.edutopia.org/media/videofalse.swf" name="movie"/>' .
17 '<embed id="video_embed" width="$3" height="$4" ' .
18 'type="application/x-shockwave-flash" ' .
19 'src="http://www.edutopia.org/media/videofalse.swf" ' .
20 'play="false" pluginspage="http://www.macromedia.com/go/getflashplayer" ' .
21 'name="video" quality="best" ' .
22 'flashvars="flvPath=http://www.edutopia.org/media//.flv&pPath=http://www.edutopia.org/media//.jpg"' .
23 '/> ' .
24 '</object>',
25 ),
e2db512 @Whiteknight separate out some logic into specific files.
authored May 12, 2010
26 'funnyordie' => array(
27 'url' =>
28 'http://www.funnyordie.com/v1/flvideo/fodplayer.swf?file='.
29 'http://funnyordie.vo.llnwd.net/o16/$1.flv&autoStart=false'
30 ),
31 'googlevideo' => array(
32 'id_pattern'=>'%[^0-9\\-]%',
33 'url' => 'http://video.google.com/googleplayer.swf?docId=$1'
34 ),
3387288 @Whiteknight reorder services list to be alphabetical. Add alias interia->interiav…
authored May 19, 2010
35 'interiavideo' => array(
36 'url' => 'http://video.interia.pl/i/players/iVideoPlayer.05.swf?vid=$1',
37 ),
38 'interia' => array(
39 'url' => 'http://video.interia.pl/i/players/iVideoPlayer.05.swf?vid=$1',
e2db512 @Whiteknight separate out some logic into specific files.
authored May 12, 2010
40 ),
41 'revver' => array(
42 'url' => 'http://flash.revver.com/player/1.0/player.swf?mediaId=$1'
43 ),
3387288 @Whiteknight reorder services list to be alphabetical. Add alias interia->interiav…
authored May 19, 2010
44 'sevenload' => array(
45 'url' => 'http://page.sevenload.com/swf/en_GB/player.swf?id=$1'
098c79f @Whiteknight fix TeacherTube support, remove helper HTML file.
authored May 16, 2010
46 ),
3387288 @Whiteknight reorder services list to be alphabetical. Add alias interia->interiav…
authored May 19, 2010
47 'teachertube' => array(
48 'extern' =>
49 '<embed src="http://www.teachertube.com/embed/player.swf" ' .
df75e23 @Whiteknight fix sizing on teachertube. Add preliminary edutopia support
authored Jun 12, 2010
50 'width="$3" ' .
51 'height="$4" ' .
3387288 @Whiteknight reorder services list to be alphabetical. Add alias interia->interiav…
authored May 19, 2010
52 'bgcolor="undefined" ' .
53 'allowscriptaccess="always" ' .
54 'allowfullscreen="true" ' .
55 'flashvars="file=http://www.teachertube.com/embedFLV.php?pg=video_$2' .
56 '&menu=false' .
57 '&frontcolor=ffffff&lightcolor=FF0000' .
58 '&logo=http://www.teachertube.com/www3/images/greylogo.swf' .
59 '&skin=http://www.teachertube.com/embed/overlay.swf volume=80' .
60 '&controlbar=over&displayclick=link' .
61 '&viral.link=http://www.teachertube.com/viewVideo.php?video_id=$2' .
62 '&stretching=exactfit&plugins=viral-2' .
63 '&viral.callout=none&viral.onpause=false' .
64 '"' .
65 '/>',
a7b3e86 @Whiteknight Add support for interiavideo, youtubehd, and divshare, from EmbedVideo++
authored May 16, 2010
66 ),
3387288 @Whiteknight reorder services list to be alphabetical. Add alias interia->interiav…
authored May 19, 2010
67 'youtube' => array(
68 'url'=>'http://www.youtube.com/v/$1'
a7b3e86 @Whiteknight Add support for interiavideo, youtubehd, and divshare, from EmbedVideo++
authored May 16, 2010
69 ),
70 'youtubehd' => array(
71 'url'=>'http://www.youtube.com/v/$1&ap=%2526fmt%3D22',
72 'default_width'=>720,
73 'default_ratio'=>16/9
74 )
4d3681c @Whiteknight Adding note about edutopia clause to be added later when I have a cha…
authored Jun 10, 2010
75
e2db512 @Whiteknight separate out some logic into specific files.
authored May 12, 2010
76 );
Something went wrong with that request. Please try again.