![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jul 2006
Location: Toronto Canada
Posts: 563
|
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> |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#2 |
Registered User
Join Date: Oct 2005
Posts: 85
|
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> |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#3 |
So Fucking Banned
Industry Role:
Join Date: Nov 2008
Location: with your dream girl
Posts: 4,941
|
I haven't used video.js yet but I have heard good things about it. The code DannyA posted above should work.
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#4 |
Guest
Posts: n/a
|
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.
|
![]() ![]() ![]() ![]() |