search

Home  >  Q&A  >  body text

javascript - How to put the video address into the swf player placed on the web page?

The whole process is like this

I am learning Django by myself. Since I need to install a rich text editor in a custom backend, I found the least troublesome django-ckeditor package.
The settings for file upload have been set up, but there is a problem. The editor of this package can only upload pictures and flash, which means that although I can upload videos, I cannot publish them through this ckeditor.

So now I have a bold idea (I don’t understand this, so please correct me if I’m wrong)

I downloaded a swf file on Youku a long time ago. This file is very small and seems to contain the video address, because after I download it, I can open it from the browser, and then the video will be loaded and played. . So can I first create a swf player containing the video address, and then upload the player to the server through ckeditor? Is this possible to publish a page containing videos?

漂亮男人漂亮男人2739 days ago660

reply all(1)I'll reply

  • 滿天的星座

    滿天的星座2017-05-31 10:39:19

    SWF needs to use ActionScript, you might as well use the domestic Baidu Ueditor directly. There is an open source project DjangoUeditor that can be used directly.

    reply
    0
  • Cancelreply