trying to replace flowplayer with video.js player in tubeace script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ketchup
    Confirmed User
    • Jul 2006
    • 563

    #1

    trying to replace flowplayer with video.js player in tubeace script

    hi I have tubeace running in my members area as a video manager , it uses flowplayer but it keeps buffering for no obvious reason.

    How can I use video.js player code in tubeace or any other html5 player? Please don't say ask the tubeace guy because he is no help , he knows his use of flow player is having problems and said to use another player ( video.js ) but doesn't want to say what code to put.

    The tubeace flow player code is

    Code:
    <script type="text/javascript" src="{home_url}/libs/flowplayer/flowplayer-3.2.10.min.js"></script>
    <div style="width:640px;height:360px;" id="player"></div>
    <script language="JavaScript">
    flowplayer("player", "{home_url}/libs/flowplayer/flowplayer-3.2.11.swf", {
    
    plugins: {
    {adplugins}
    },
    
    clip: {
    
       autoPlay: false,
       autoBuffering: true,
       url: "{video_file}",
    
    {adclip}
    
       playlist: [
    
       {preroll}
    
       {midroll}
    
       {postroll}
    
       ]
    
    }
    
    });
    </script>
    https://www.instagram.com/tsrocketqueen/

    https://torontoshemaleescorts.com
  • DannyA
    Registered User
    • Oct 2005
    • 85

    #2
    Code:
    <link href="//vjs.zencdn.net/4.1/video-js.css" rel="stylesheet">
    <script src="//vjs.zencdn.net/4.1/video.js"></script>
    
    <video id="example_video_1" class="video-js vjs-default-skin"
      controls preload="auto" width="640" height="360"
      poster="http://video-js.zencoder.com/oceans-clip.png"
      data-setup='{"example_option":true}'>
     <source src="{video_file}" type='video/mp4' />
    </video>
    Try starting with something like that. Video.js is way easier than it seems.

    Comment

    • Tube Ace
      So Fucking Banned
      • Nov 2008
      • 4941

      #3
      I haven't used video.js yet but I have heard good things about it. The code DannyA posted above should work.

      Comment

      • AMSM

        #4
        try autoBuffering: false, and <div style="max-width:100%;" ...see what that does. make sure to keep your original code to switch it back if you get errors.

        Comment

        Working...