HTML5 Address Bar Video Status

Show Video Playback Status in the Address Bar using HTML5 History API

建立方法 JavaScript, HTML5, 视频

  • 172 次观看
  • 2 个评论


Watch the Address Bar when playing or scrubbing the video.
Try pausing the video and using the Back/Forward buttons of your browser.

到目前为止有 2 个评论


  1. groovecoder 说:

    This is very cool. Any chance to make it addressable? I.e., if I pause the video I can copy the URL and paste to another browser/window to resume right where I paused?
  2. launchinteractive 说:

    I've made an addressable version, however it requires server-side code to redirect the url (apache mod_rewite) which doesn't work on MDN. If you download the source you will find a .htaccess file that will make it happen.


下载源代码 4951.8 KB · ZIP 格式

此演示发布于 GPL 授权之下。

launchinteractive 的更多作品