Skip to main content

Introduction

This addon adds controls over youtube video to display them while being compliant with anysurfer 2.0.

AnySurfer 2.0

French: http://www.anysurfer.org/fr/video-dans-un-lecteur-flash Nederlands: http://www.anysurfer.org/video-in-een-flashplayer

How to install

This addon can be installed as any other plone addons. Please follow official documentation.

This addons depends on:

  • collective.js.nomensamediaplayer

  • collective.captionmanager

Badges

Latest PyPI version Number of PyPI downloads https://secure.travis-ci.org/collective/collective.videoanysurfer.png Coverage

Features

  • Add play/pause links to control video

  • Add transcription and captions support

  • Add link options to download MP4 files with subs

  • Add components to easy embed youtube video in custom views/viewlet

  • Add portlet to display youtube video

  • Automatic download of captions from youtube

Players

This addon at the moment supports only nomensa jquery media player. By default this player support TTML captions. You can find a working captions at https://raw.github.com/nomensa/Accessible-Media-Player/master/example/captions/captions-order-of-content.xml

About Captions Format

captions format depends on the used player. Nomensa player support only TTML but the addon collective.captionmanager let you write it in other formats.

SRT (SubRip subtitle) SBV (YouTube) Flash DFXP, SMI or SAMI (Windows Media), SCC for iOS, CPT.XML (Flash Captionate XML), QT (Quicktime) STL (Spruce Subtitle File). TTML (<tt …>) W3C Timed text markup language

How to integrate the player in a template

To integrate this player in a custom template you just have to use this snippet:

<h2><a href="" tal:attributes="href item/link_url" tal:content="item/title">video title</a></h2>
<div class="nomensa">
  <p>
      <a class="videoanysurfer" tal:attributes="href item/youtube_url" tal:content="item/title">VIDEO TITLE</a>
      <a class="captions" style="display:none;"
         tal:condition="item/captions|nothing" tal:attributes="href item/captions">Captions</a>
  </p>
</div>

Where item should look like:

{'youtube_url': 'http://www.youtube.com/watch?v=kXiGXcq4pqY',
'captions': 'http://localhost:8080/Plone/youtube_link/@@videoanysurfer_captions',
'link_url': 'http://localhost:8080/Plone/youtube_link',
'title': 'Order of content by Emily Coward'}

Credits

Companies

People

Changelog

1.0.8 (2013-07-04)

  • Nothing changed yet.

1.0.7 (2013-07-03)

  • Fix Manifest.in

1.0.6 (2013-07-02)

  • JWPlayer integration

1.0.5 (2012-10-08)

  • update translations

1.0.4 (2012-08-07)

  • Add integration of collective.captionmanager and captionstransformer

1.0.3 (2012-07-04)

  • Move the edit video form link into edit bar

  • Make nomensa media player the default one

1.0.2 (2012-07-03)

  • use height of the parent container

1.0.1 (2012-07-03)

  • add package metadatas

1.0 (2012-07-03)

  • Initial release

Release files for collective.videoanysurfer 1.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collective.videoanysurfer 1.0.8
File Size Uploaded
collective.videoanysurfer-1.0.8.zip 38.7 kB Details

Release files / collective.videoanysurfer-1.0.8.zip

Download URL collective.videoanysurfer-1.0.8.zip
Size 38.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9c07c74c6b1494e984346ff9fcf34d5f2a01fea23823d05699b9215117899f34
BLAKE2b-256 checksum
How to use checksums
22659139f8b1df5fe26769ec22bc9b18b1620437c0726a51c970e9a4ce720fa2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.8 This release

1 release file

1.0.7

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page