projectblacklight / spotlight

Spotlight enables librarians, curators, and others who are responsible for digital collections to create attractive, feature-rich websites that highlight these collections.
Other
161 stars 65 forks source link

Clarify requirements for video widget #673

Open ggeisler opened 10 years ago

ggeisler commented 10 years ago

The Sir Trevor video widget works for YouTube videos but doesn't seem to work for other video sources. For example, a sample video (both .mp4 and .wmv) from the Internet Archive doesn't work, either dragged from local machine or when given a direct URL.

Using either method and saving the page, there is no video on the view page.

It's not clear if the widget is not working correctly or if we just don't understand which formats/sources it supports.

cbeer commented 10 years ago

Out of the box, it looks like there's only connectors for youtube and vimeo: https://github.com/madebymany/sir-trevor-js/blob/master/src/blocks/video.js#L5

The source links to https://gist.github.com/jeffling/a9629ae28e076785a14f, which makes it look easy enough to add other sources, if we can define them in advanced.