GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   trying to replace flowplayer with video.js player in tubeace script (https://gfy.com/showthread.php?t=1121990)

Ketchup 09-24-2013 07:11 PM

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>


DannyA 10-14-2013 03:00 AM

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.

Tube Ace 11-02-2013 08:35 AM

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

AMSM 11-02-2013 08:51 AM

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.


All times are GMT -7. The time now is 10:40 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc