AlchemyCMS / alchemy-richmedia-essences

EssenceAudio and EssenceVideo for Alchemy CMS
https://alchemy-cms.com
BSD 3-Clause "New" or "Revised" License
6 stars 10 forks source link

Update EssenceVideo and EssenceAudio to HTML5 elements #3

Closed tvdeyen closed 9 years ago

tvdeyen commented 10 years ago

The EssenceVideo and EssenceAudio views are using outdated Flash based players.

These should be updated to use HTML5 <video> and <audio> tags.

BenMorganIO commented 10 years ago

It looks like the video is using a file upload. There should be options to use Youtube, Vimeo, and Wistia since they are all used actively.

BenMorganIO commented 10 years ago

Wistia and Vimeo would be a bit more technical.

tvdeyen commented 10 years ago

These essences were never meant to support embedded video players. They were meant o support self hosted files.

But you are right hosted platforms like YouTube or Vimeo are better nowadays, this is why these essences are not used any more.

We nowadays use an EssenceHtml with an <iframe> in the element view, so the editor only needs to put in the video id.

But it would be great to have an EssenceVideo that supports YouTube and Vimeo, with already placed embed code, so the user only needs to paste in the id of the video and does not have to deal with width and height values of iframes ;) At best the iframe would be full width (100%) responsive.

tvdeyen commented 10 years ago

Please have a look in the video slide element from the demo (https://github.com/magiclabs/alchemy3-demo/blob/master/app/views/alchemy/elements/_video_slide_view.html.erb)

This is the approach we use nowadays.

BenMorganIO commented 10 years ago

The video is currently using flowplayer right?

tvdeyen commented 10 years ago

Yep, an outdated version.

BenMorganIO commented 10 years ago

Looks like I'll be contributing!

tvdeyen commented 10 years ago

\o/

tvdeyen commented 9 years ago

Published a new branch html5 where we will implement this.

tvdeyen commented 9 years ago

Done f9b057a391c56999b404a3c09fd0fac52a4c4f92

BenMorganIO commented 9 years ago

:+1: