tinymce/tinymce — pull request #434 by mikedawson (2014-10-06 09:36:10+00:00)
Title: Add autoplay and controls option to insert media dialog, ensure audio tag correctly handled

Hi,

When a user is inserting media right now through the media dialog they don't have the option to use the HTML5 autoplay attribute or the controls attribute (which TinyMCE always adds).

This patch adds to checkboxes to the insert media dialog that can be used to set them which will be shown unless (in the same way as other media options are disabled) the user has media_autoplay : false or media_controls : false on their editor config. The controls button is checked by default so the default behaviour is the same as it is now.

![tinymce-media](https://cloud.githubusercontent.com/assets/4280622/4523791/fc53be78-4d3b-11e4-9910-4cbf98746ff2.png)

Additionally I would suggest Insert / Edit Video be renamed to Insert / Edit Media as the dialog normally correctly guesses when to use an audio tag and when to use a video tag.

Regards,

-Mike