source: gs2-extensions/video-and-audio/trunk/src/macros/extra.dm@ 23296

Last change on this file since 23296 was 23296, checked in by max, 14 years ago

Changing the directory name inside the macro file to match the new directory structure.

File size: 1.2 KB
Line 
1package Global
2
3_httpvideoweb_ {_httpprefix_/ext/video-and-audio/web}
4_httpvideoimages_ {_httpvideoweb_/images}
5_httpvideoscript_ {_httpvideoweb_/script}
6_httpvideostyle_ {_httpvideoweb_/style}
7_httpvideoflash_ {_httpvideoweb_/flash}
8_httpvideojava_ {_httpvideoweb_/java}
9
10
11_httpcurrentdocumentwithvplayer_ {_httpcurrentdocument_&showvplayer=1}
12_httpcurrentdocumentnovplayer_ {_httpcurrentdocument_&showvplayer=}
13
14_notranscript_ {No transcript available}
15
16package document
17
18_pagescriptextra_ {
19
20 function extraFlowplayerShow() \{
21 var dandp = document.getElementById("DandPPlayer");
22 dandp.style.display = "none";
23 var pandh = document.getElementById("PandHPlayer");
24 pandh.style.display = "block";
25 flowplayershow();
26 \}
27
28 function extraFlowplayerHide() \{
29 var pandh = document.getElementById("PandHPlayer");
30 pandh.style.display = "none";
31 var dandp = document.getElementById("DandPPlayer");
32 dandp.style.display = "block";
33 flowplayerhide();
34 \}
35}
36
37
38_displayandhideflowplayer_ {
39
40 <a id="DandPPlayer" style="display: block;"
41 href="javascript:extraFlowplayerShow()">Display and Play _1_</a>
42 <a id="PandHPlayer" style="display: none;"
43 href="javascript:extraFlowplayerHide()">Pause and Hide _1_</a>
44}
Note: See TracBrowser for help on using the repository browser.