@amtar You can enable regular file uploads, but this would not show the uploaded file in an embedded media player.
Out of the box we do not automatically embed video files.
Is Markdown not support html like this?
<embed src="http://player.youku.com/player.php/sid/XNzEyMDkzNjgw/v.swf" allowFullScreen="true" quality="high" width="480" height="400" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash"></embed>
and like this:
<iframe height=498 width=510 src="http://player.youku.com/embed/XNzEyMDkzNjgw" frameborder=0 allowfullscreen></iframe>
How to solve this problem ?
@Loethen-Shen There is already a plugin for youku, but it's out of date, I have forked it to support the latest version, but as I'm not in mainland China, I can't test it, you can install it by running
npm install git+https://github.com/a5mith/nodebb-plugin-youku.git
Please let me know if it works.
EDIT: I've submitted a pull request to the original author, but I don't think the changes will be on npm yet.
Is there a way to insert video which uploaded as attachments, like http://mydomain/uploads/xxx.mp4 ?
You could create a plugin that takes mp4s and wraps them in the HTML5 video tag.
<video width="320" height="240" controls> <source src="url-to.mp4" type="video/mp4"> Your browser does not support the video tag. </video>
The text inside the video tags are for any browser that doesn't support HTML5 Video.