Here we list a few transporters that we have written for #32C3.
These transporters should be combined into a single controller and then the code adjusted so that one Transporter can accept url's from any of the relevant domains - that is drag a video or wik page onto the Transporter and it will detect the difference and respond appropriately.
# Import CCC-TV Videos
The transporter below allows you drag and drop video urls from the CCC-TV site, and create an imported page with embedded HTML5 Video and metadata.
The code for this CCC-TV Transporter can be found on github
We need to fix this to pull in multiple video formats - not just WEBM if they are available. In particular we need to offer the option of MP4 Video as WEBM is not available on iOS.
https://livecode.world/ccc_video
Additionally newly imported videos from #32C3 appear not to have WEBM encoding or at least the MP4 encoding appears faster in the archive. The solution is to add multile sources to the <video> tag.
However this valid HTML5 does not display in a Fedwiki HTML Plugin. Possibly due to sanitisation issues
<video poster="movie.jpg" controls> <source src="movie.webm" type='video/webm; codecs="vp8.0, vorbis"'> <source src="movie.mp4" type='video/mp4; codecs="avc1.4D401E, mp4a.40.2"'> <p>This is fallback content to display for user agents that do not support the video tag.</p> </video>
Instead we use a single source <video> element, which takes the form shown below:
At the moment the code does not work with German language talks - though a few tweaks should sort that.
<video src="http://c3media.vsos.ethz.ch/congress/2013/webm/30c3-5437-en-Plants_Machines_webm.webm" width="400" controls> This is fallback content to display for user agents that do not support the video tag. </video><br></br> Plants and Machines video courtesy of <a href="https://media.ccc.de/v/30C3_-_5437_-_en_-_saal_g_-_201312282245_-_plants_machines_-_mrv_-_bbuegler#video" target="_blank">CCC</a>.
# Import CCC Wiki
This crude transporter scrapes a CCC wiki page (or any Mediawiki page. It does not use the Mediawiki API because it is unfortunately turned off for this site.
POST https://livecode.world/test