silverstripe / silverstripe-cms

Silverstripe CMS - this is a module for Silverstripe Framework rather than a standalone app. Use https://github.com/silverstripe/silverstripe-installer/ to set this up.
http://silverstripe.org/
BSD 3-Clause "New" or "Revised" License
515 stars 333 forks source link

[2012-07-02] Enable self-hosted audio and video to be inserted into pages #494

Open silverstripe-issues opened 11 years ago

silverstripe-issues commented 11 years ago

created by: @smagnusson (smagnusson) created at: 2012-07-02 original ticket: http://open.silverstripe.org/ticket/7611


MP3 and movie files can be uploaded, and hand-written into HTML, but not via the GUI.

  1. In the media inserter, a) "Insert from web", allow various audio and video formats to entered. b) "insert from CMS", allow various audio and video files to be listed for selection.
  2. Embed HTML5 code as follows, which gracefully falls back to a download link in all browsers. (HTML5 code shows player in IE9, Chrome, Safari, Firefox)

    This code already is supported and visible in TinyMCE.

    Note the user will need to realise they take responsibility for uploading files using codecs that are widely supported. In the case of video, they will need to manually choose the right size; currently TinyMCE seems to be setting a size by itself. When viewing unsupported codecs, the user will usually see the download link and possible able to view the file using locally installed software.

Common audio formats: WAV MP3 M4A OGG WMA Common video extensions: MP4 MOV WMV M4V MPEG MPG

Suggested improvement: Given the fact that Firefox Desktop is the only browser that doesn't support H.264 (i.e. Firefox Mobile still does), and that older browsers such as IE6-7-8 won't embed the file, = consider creating a Flash embed route-through, as this is the technique often used by a wide variety of major video websites. A compiled Flash file attached, to do this job, taken from http://flv-player.net/players/mini/download/

Specifically this markup:

tractorcow commented 7 years ago

As discussed with the new 4.0 media dialog; There's a lack of ability to embed self-hosted non-oembed media. There is an issue ticket somewhere but I can't track it down immediately.