0 votes

Video Player Datatype

This data type (PMG Video Player) will allow an editor to paste in a youtube or vimeo URL and it will show a player with the video in the backend.  Right now it only supports vimeo and youtube.

After trying a few video players, I settled on videojs however I had to modify a few of the plugins that display the youtube and vimeo because they weren't working with the newest version of videojs.

Add the datatype.  The full url is being stored as a string. I am thinking about changing this in future versions (JSON storage) and returning the id, video type, etc but that depends on what people might want.

Notes:

Only supports the html player for now.  The button only needs to be clicked if the browser doesn't support the paste event.  

Saves the entire URL.

Some error checking is currently missing.  This will be added soon. 

Credits:

Videojs: https://github.com/videojs/video.js

Youtube Plugin: https://github.com/eXon/videojs-youtube

Vimeo Plugin: https://github.com/eXon/videojs-vimeo

Screenshots

Package owner

lucuma

lucuma

lucuma has 563 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 11.0.x (untested)
Version 10.3.x (untested)
Version 10.2.x (untested)
Version 10.1.x (untested)
Version 10.0.x (untested)
Version 9.5.x (untested)
Version 9.4.x (untested)
Version 9.3.x (untested)
Version 9.2.x (untested)
Version 9.1.x (untested)
Version 9.0.x (untested)
Version 8.18.x (untested)

You must login before you can report on package compatibility.

Previously reported to work on versions: 7.4.x

Package Information

  • Package owner: lucuma
  • Created: 27/01/2014
  • Current version 0.1.1
  • License MIT
  • Downloads on Our: 830