FriendsOfFlarum / formatting

Customize TextFormatter with plugins through the admin interface
MIT License
22 stars 10 forks source link

Unable to display video controls #3

Closed quest-X closed 5 years ago

quest-X commented 5 years ago

How can I display the video playback control, because the video uploads without controls, the user will mistake the video card for death.

dsevillamartin commented 5 years ago

Erm, what plugin are you using? Mediaembed or autovideo? Either way, this sounds like an issue with TextFormatter. This extension does not add the plugins, just enables them.

quest-X commented 5 years ago

I guess this issue is about Mediaembed, still hasn't solved it yet.

dsevillamartin commented 5 years ago

What video site are you trying to embed?

quest-X commented 5 years ago

The URL addrss just like https://baidu.com/1.mp4

dsevillamartin commented 5 years ago

That would most likely be caused by Autovideo. Autovideo embeds video files, mediaembed embeds media websites.

In theory, it should have the controls (https://s9etextformatter.readthedocs.io/Plugins/Autovideo/Synopsis/). Do you have a live url where we can see this?

quest-X commented 5 years ago

Of course, if you want you can visit my flarum forum https://bbs.zhuran.org/d/53-2019-3-16 and to see what happened with my extension

quest-X commented 5 years ago

At the bottom of the forum, I introduced a cat's video link. He needs to right-click on the playback control to finish playing.

dsevillamartin commented 5 years ago

Hm... what's the posts content? Did you use flagrow/upload to upload that file? I don't think that one is being managed by Autovideo. The videos on the first post seem to be.

quest-X commented 5 years ago

Right, I use flagrow/upload to upload that file. Is it because this expands to the problem?

luceos commented 5 years ago

Files uploaded by the flagrow upload extension are parsed differently. Either you retrieve their full URL after uploading and use that in your content or you upload the file somewhere else. I'll look into a solution for this in upload once I make it more advanced in the future.