
內容簡介
這個外掛使用原生 HTML5 視頻播放器和 jQuery,提供超快速的播放器和播放列表功能,在 WordPress 中也能運作。它使用瀏覽器本地存儲來進行大部分的功能。
當使用者已登入時,我們會將視頻位置存儲在資料庫中。因此即使更換瀏覽器,也能保留進度。
在網站的任何地方,包括頁面、文章、小工具等都能使用。
功能
從上次觀看位置繼續播放視頻。在資料庫和瀏覽器存儲進度。
暫停時或關閉窗口時,保存進度。
使用「?t=SECONDS」參數設置自訂時間開始播放視頻。例如「?t=120」將在2分鐘處開始播放。
播放列表功能
– 可以從 HTML5 列表或 JS 陣列創建播放列表視頻
– 繼續播放最後一個已播放視頻
– 當視頻播放完成時自動播放下一個視頻
– 標記視頻已播放
– 使用「?start_video=ID_VIDEO」參數設置從特定視頻開始播放。已存儲在使用者瀏覽器存儲器而非資料庫中。
外掛標籤
開發者團隊
原文外掛簡介
Better Video & Playlist adds the two things the native HTML5 player lacks: resume where you stopped and a playlist that keeps playing.
Add a video with the normal WordPress video block or with a plain video tag and the plugin takes care of the rest. When a visitor pauses a video or closes the tab, the position is saved, both in the browser and in the user account. Next time they open the page, the video continues where they left it.
If the page has a playlist, the player loads the first video, chains them when one ends, remembers which one was playing and highlights it in the list. Visitors can search the list, hide the videos they already watched and jump to a specific one.
Features
Resume playback: the position is stored in the browser and, for logged in users, in the database, so it follows them to another device.
Playlists: with the Playlist Block, with an HTML list or with a JavaScript array.
Autoplay next video: when one video ends, the next one starts by itself.
Remember the current video: the playlist reopens on the video that was playing.
Search inside the playlist: a search box above the list filters it as you type.
Hide watched videos: a button to show or hide the ones already played.
Common words: the words repeated across the titles become quick filters.
Start at a time: ?t=120 starts the video at 2 minutes.
Start on a video: ?start_video=3 opens the third video of the playlist.
Customisable: emojis for played, playing and download, plus the background color of the playing item.
No jQuery: plain vanilla JavaScript, no extra libraries on the front end.
How to use it
A single video. Add a video block to your post, or paste a video tag in the HTML. Nothing else to do.
A playlist with the block. Insert the Playlist Block, add the videos with their names and URLs, done. The player reads that list.
A playlist with HTML. Create a list with the id bvideo_playlist:
A playlist with JavaScript. Define a video_playlist array and the plugin builds the list for you. The size field is optional and only adds a download button:
Settings. Go to Settings > Video Settings to change the emojis, the background color of the playing item and autoplay.
