You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. First of all, thanks for writing this plugin, really cool and it is perfectly integrated with filepond!
I have a question regarding adding custom attributes to video element. Right now the video element comes like this:
<videocontrols="true"
src="source.mp4"
></video>
But it would be great to be able set controls to false or add other ones, such as autoplay, crossorigin, or controlslist (see MDN web docs for more options.):
About adding custom attributes to the video element: best is to provide those as configuration options. For examples you can look at the already existing configuration options, see index.js#60.
If you could create a PR for this, I'd happy to review and merge it. Else I might have a look myself, but it might take a while before I have time to dive into this.
Hi. First of all, thanks for writing this plugin, really cool and it is perfectly integrated with filepond!
I have a question regarding adding custom attributes to
video
element. Right now thevideo
element comes like this:But it would be great to be able set
controls
tofalse
or add other ones, such asautoplay
,crossorigin
, orcontrolslist
(see MDN web docs for more options.):Any suggestions on how to do that?
Thanks!
The text was updated successfully, but these errors were encountered: