juliang22 / ObsidianTimestampNotes

This plugin allows side-by-side notetaking with videos. Annotate your notes with timestamps to directly control the video and remember where each note comes from.
186 stars 31 forks source link

[Feature Request] Please add support of bilibili #28

Open huiyang-work opened 1 year ago

huiyang-work commented 1 year ago

bilibili.com is the most popular video learning website in China ๐Ÿ˜ƒ

jokervTv commented 1 year ago

Looking forward to this feature

kafkazov commented 1 year ago

please๏ผ

zuluwi commented 1 year ago

React-Player can play mpd files, so it is possible to play bilibili videos in the same way as the Media Extended plugin does

zuluwi commented 1 year ago

Also added subtitle support.

https://github.com/juliang22/ObsidianTimestampNotes/assets/111116092/6df5286a-13b2-4b95-90fa-063d14f0289a

The video data is fetched in two steps, and the subtitles have to be added before the player is started. This is why it takes a few seconds for the player to activate and for the video to start after it has been activated.

wwjCMP commented 11 months ago

Also added subtitle support.

2023-06-29-21-26-582.mp4 The video data is fetched in two steps, and the subtitles have to be added before the player is started. This is why it takes a few seconds for the player to activate and for the video to start after it has been activated.

thanks

wwjCMP commented 11 months ago

Also added subtitle support.

2023-06-29-21-26-582.mp4 The video data is fetched in two steps, and the subtitles have to be added before the player is started. This is why it takes a few seconds for the player to activate and for the video to start after it has been activated.

Does it support playing bilibili videos in high quality? Currently, it is playing in low quality

zuluwi commented 11 months ago

Also added subtitle support. 2023-06-29-21-26-582.mp4 The video data is fetched in two steps, and the subtitles have to be added before the player is started. This is why it takes a few seconds for the player to activate and for the video to start after it has been activated.

Does it support playing bilibili videos in high quality? Currently, it is playing in low quality

@wwjCMP I don't think I can test it properly because I'm using bilibili from outside China, but can you share a sample video link? Also, can you watch this video in high quality with media-extended?

TunaFFish commented 9 months ago

Also added subtitle support. 2023-06-29-21-26-582.mp4

The video data is fetched in two steps, and the subtitles have to be added before the player is started. This is why it takes a few seconds for the player to activate and for the video to start after it has been activated.

Hi is there any way to have subtitles work for local files? I don't have the Timestamp Notes: Add subtitle file command I see in your video, how come?

I want to load local videos along with .vtt files

file:///Volumes/TUTORIALS/Ideaverse/introduction.mp4
file:///Volumes/TUTORIALS/Ideaverse/introduction.vtt

According to React Players docs this should be possible with the use of tracks.

Thanks for any insights!

TunaFFish commented 9 months ago

@zuluwi I found your fork, just fantastic! Thanks so much for putting in all the work and thanks for sharing ๐Ÿ”๐Ÿ™