baijunyao / laravel-bjyblog

Laravel v9 blog
https://baijunyao.com/docs/laravel-bjyblog
MIT License
525 stars 201 forks source link

Question about music and video #69

Closed yuri25 closed 5 years ago

yuri25 commented 5 years ago

Could you add the ability to the editor to add music as a mp3 file and embed the video from the YouTube service? Thank.

baijunyao commented 5 years ago

Yes, you are welcome.

baijunyao commented 5 years ago

Youtube video is supported. 1 2 3 4

yuri25 commented 5 years ago

What about downloading mp3?

baijunyao commented 5 years ago

You can add HTML tags.

video

<video width="320" height="240" controls>
  <source src="https://www.w3schools.com/tags/movie.mp4" type="video/mp4">
  Your browser does not support the video tag.
</video>

audio

<audio src="http://www.w3school.com.cn/i/horse.ogg" controls="controls">
Your browser does not support the audio element.
</audio>
7 8
yuri25 commented 5 years ago

Thank you very much! Great job and great blog!