silverstripe-cms icon indicating copy to clipboard operation
silverstripe-cms copied to clipboard

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

Open silverstripe-issues opened this issue 12 years ago • 1 comments
trafficstars

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:

silverstripe-issues avatar Apr 03 '13 20:04 silverstripe-issues

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.

tractorcow avatar Nov 05 '17 22:11 tractorcow