Skip to content
Newer
Older
100644 82 lines (80 sloc) 3.61 KB
e2db512 @Whiteknight separate out some logic into specific files.
authored
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
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
11 'edutopia' => array(
2be8876 @Whiteknight fix edutopia support. still looks a little ugly, but whaddayagonnado?
authored
12 'extern' =>
b3c123e @townxelliot Fix HTML embed code for edutopia
townxelliot authored
13 '<object id="flashObj" width="$3" height="$4">' .
14 '<param name="movie" value="http://c.brightcove.com/services/viewer/federated_f9?isVid=1&isUI=1" />' .
15 '<param name="flashVars" value="videoId=$2&playerID=85476225001&domain=embed&dynamicStreaming=true" />' .
16 '<param name="base" value="http://admin.brightcove.com" />' .
17 '<param name="allowScriptAccess" value="always" />' .
18 '<embed src="http://c.brightcove.com/services/viewer/federated_f9?isVid=1&isUI=1" ' .
19 'flashVars="videoId=$2&playerID=85476225001&domain=embed&dynamicStreaming=true" '.
20 'base="http://admin.brightcove.com" name="flashObj" width="$3" height="$4" '.
21 'seamlesstabbing="false" type="application/x-shockwave-flash" allowFullScreen="true" ' .
22 'allowScriptAccess="always" swLiveConnect="true" ' .
23 'pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">' .
24 '</embed>' .
2be8876 @Whiteknight fix edutopia support. still looks a little ugly, but whaddayagonnado?
authored
25 '</object>',
b3c123e @townxelliot Fix HTML embed code for edutopia
townxelliot authored
26 'default_width' => 326,
27 'default_ratio' => 326/399,
df75e23 @Whiteknight fix sizing on teachertube. Add preliminary edutopia support
authored
28 ),
e2db512 @Whiteknight separate out some logic into specific files.
authored
29 'funnyordie' => array(
30 'url' =>
31 'http://www.funnyordie.com/v1/flvideo/fodplayer.swf?file='.
32 'http://funnyordie.vo.llnwd.net/o16/$1.flv&autoStart=false'
33 ),
34 'googlevideo' => array(
35 'id_pattern'=>'%[^0-9\\-]%',
36 'url' => 'http://video.google.com/googleplayer.swf?docId=$1'
37 ),
3387288 @Whiteknight reorder services list to be alphabetical. Add alias interia->interiav…
authored
38 'interiavideo' => array(
39 'url' => 'http://video.interia.pl/i/players/iVideoPlayer.05.swf?vid=$1',
40 ),
41 'interia' => array(
42 'url' => 'http://video.interia.pl/i/players/iVideoPlayer.05.swf?vid=$1',
e2db512 @Whiteknight separate out some logic into specific files.
authored
43 ),
44 'revver' => array(
45 'url' => 'http://flash.revver.com/player/1.0/player.swf?mediaId=$1'
46 ),
3387288 @Whiteknight reorder services list to be alphabetical. Add alias interia->interiav…
authored
47 'sevenload' => array(
48 'url' => 'http://page.sevenload.com/swf/en_GB/player.swf?id=$1'
098c79f @Whiteknight fix TeacherTube support, remove helper HTML file.
authored
49 ),
3387288 @Whiteknight reorder services list to be alphabetical. Add alias interia->interiav…
authored
50 'teachertube' => array(
51 'extern' =>
52 '<embed src="http://www.teachertube.com/embed/player.swf" ' .
df75e23 @Whiteknight fix sizing on teachertube. Add preliminary edutopia support
authored
53 'width="$3" ' .
54 'height="$4" ' .
3387288 @Whiteknight reorder services list to be alphabetical. Add alias interia->interiav…
authored
55 'bgcolor="undefined" ' .
56 'allowscriptaccess="always" ' .
57 'allowfullscreen="true" ' .
58 'flashvars="file=http://www.teachertube.com/embedFLV.php?pg=video_$2' .
59 '&menu=false' .
60 '&frontcolor=ffffff&lightcolor=FF0000' .
61 '&logo=http://www.teachertube.com/www3/images/greylogo.swf' .
62 '&skin=http://www.teachertube.com/embed/overlay.swf volume=80' .
63 '&controlbar=over&displayclick=link' .
64 '&viral.link=http://www.teachertube.com/viewVideo.php?video_id=$2' .
65 '&stretching=exactfit&plugins=viral-2' .
66 '&viral.callout=none&viral.onpause=false' .
67 '"' .
68 '/>',
a7b3e86 @Whiteknight Add support for interiavideo, youtubehd, and divshare, from EmbedVideo++
authored
69 ),
3387288 @Whiteknight reorder services list to be alphabetical. Add alias interia->interiav…
authored
70 'youtube' => array(
2be8876 @Whiteknight fix edutopia support. still looks a little ugly, but whaddayagonnado?
authored
71 'url' => 'http://www.youtube.com/v/$1'
a7b3e86 @Whiteknight Add support for interiavideo, youtubehd, and divshare, from EmbedVideo++
authored
72 ),
73 'youtubehd' => array(
2be8876 @Whiteknight fix edutopia support. still looks a little ugly, but whaddayagonnado?
authored
74 'url' => 'http://www.youtube.com/v/$1&ap=%2526fmt%3D22',
75 'default_width' => 720,
76 'default_ratio' => 16/9
e4ac57d @townxelliot Fixed URL template for Vimeo integration
townxelliot authored
77 ),
78 'vimeo' => array(
79 'url'=>'http://vimeo.com/moogaloop.swf?clip_id=$1&;server=vimeo.com&fullscreen=0&show_title=1&show_byline=1&show_portrait=0'
a7b3e86 @Whiteknight Add support for interiavideo, youtubehd, and divshare, from EmbedVideo++
authored
80 )
e2db512 @Whiteknight separate out some logic into specific files.
authored
81 );
Something went wrong with that request. Please try again.