Try CumulusClips Cloud Hosting

How can i implement this?

getget
edited March 26 in General
Hello,
I want to implement this videojs-ass - https://github.com/SunnyLi/videojs-ass plugin into the player. I want it to load the .ass subtitle like the filename work. So if i put the it like subtitle-title.ass it will load that on that video. how can i make this work. I am using phpmyadmin to manually enter videoid name stuff
Thanks!

Comments

  • getget
    edited March 26
    ..
  • Looking at the documentation for your plugin, it says to specify the path to the file using the "src" option. Not sure if needs to be relative to the current page, or relative to the script where you are defining the plugin.

    To use that plugin, you need to remove the video-js configuration from the video tag on the watch page and initialize the player via Javascript. You can do so in the watch section of the general.js file.
Sign In or Register to comment.