| birkit.com: Website Craftsmanship | ||||||||||||||||||||||||||||||||
EXT: Video SwitcherExtension Key: tx_videoswitcher Copyright 2006-2007, Lucas Birk, <lbirk at birkit com> This document is published under the Open Content License available from http://www.opencontent.org/opl.shtml The content of this document is related to TYPO3 - a GNU/GPL CMS/Framework available from www.typo3.com IntroductionWhat does it do? "Video Switcher" is a front end Plugin for TYPO3 that allows a video media file to be linked to directly from the RTE. Linking to a file (or a page containing embedded media) is not a problem in the RTE but, if there media is available in several different formats, we would have to create a separate link to each format. This could quickly become unmanageable! The Video Switcher extension:
Screenshots:Video records types:
Links in RTE textLinks can appear anywhere in RTE text. The Video Switcher Plugin will build the link using a special tag (see fig. 7) to produce something link can be seen in fig. 2. Choose Format PageAfter clicking a link to watch a video, the user is presented with a page (fig. 3) where they can select their desired format. The links can be either images or text and the download link can be disabled via TS. Users ManualNote: To configure the extension see the section “Configuration†below. In LIST view:
In PAGE view:AdministrationExample pageTSconfigRTE.default {
proc{ allowTags ( a, abbr, acronym, h1, h2, h3, h4, h5, h6, hr, i, img, li, ol, p, pre, vs ) HTMLparser_rte.tags.vs.protect = 1 } } Configuration
Reference
Param Tag Examples:<!--Example code for Windows Mediaâ„¢ Player -->
<object id="MediaPlayer1" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" height="210" width="240"> <param name="FileName" value="###SOURCEFILE###"> <param name="src" value="###SOURCEFILE###"> <param name="ShowControls" value="1"> <param name="ShowPositionControls" value="0"> <param name="ShowAudioControls" value="1"> <param name="ShowTracker" value="0"> <param name="ShowDisplay" value="0"> <param name="ShowStatusBar" value="0"> <param name="AutoSize" value="0"> <param name="ShowGotoBar" value="0"> <param name="ShowCaptioning" value="0"> <param name="AutoStart" value="1"> <param name="AnimationAtStart" value="1"> <param name="TransparentAtStart" value="0"> <param name="AllowScan" value="0"> <param name="EnableContextMenu" value="0"> <param name="ClickToPlay" value="0"> <param name="InvokeURLs" value="0"> <param name="DefaultFrame" value="datawindow"> <embed src="###SOURCEFILE###" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="MediaPlayer1" autostart="true" showcontrols="1" showpositioncontrols="0" showaudiocontrols="1" showtracker="0" showdisplay="0" showstatusbar="0" autosize="0" showgotobar="0" showcaptioning="0" autorewind="0" animationatstart="1" transparentatstart="0" allowscan="0" enablecontextmenu="0" clicktoplay="0" invokeurls="0" defaultframe="datawindow" height="210" width="240"> </object> <!--Example code for RealMediaâ„¢ Player --> <object classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="320" height="240" hspace="11" vspace="11" id="video593"> <param name="FileName" value="###SOURCEFILE###" /> <param name="src" value="http://www.akquinet.de/uploads/tx_videoswitcher/Kraft.rm" /> <param name="controls" value="ImageWindow" /> <param name="console" value="video593" /> <param name="autostart" value="true" /> <param name="loop" value="false" /> <embed src="###SOURCEFILE###" width="320" autostart="true" loop="false" height="240" hspace="11" vspace="11" type="audio/x-pn-realaudio-plugin" console="video593" controls="ImageWindow"> </object> TutorialNone yet Known ProblemsNone known. To Do
Change Log
06-10-24
06-10-25
06-11-09 Version: 0.0.4 FeedbackSince this plugin is in "Alpha" state I would like to hear your feedback about what things that can be improved upon or added. This goes for the documentation too! Since I wrote it and know how to use it without reading, it is inevitable (Mr. Anderson) that I have left some key steps out or have not explained things throughly! Please feel free to contact me Lucas. |
||||||||||||||||||||||||||||||||
|
|