• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] how to add video.js player to my default player?

Started by ollipaust,

Previous topic - Next topic

0 Members and 5 Guests are viewing this topic.

ollipaustTopic starter

hi

i would like to use video.js as my default player since the new player rly disappointed me.
is it even possible / compatible?
  •  

ollipaustTopic starter

Is the video.js player compatible ??? is it possible to do this?? please tell me which files i have to edit and how ..

thanks
  •  

PHPVibe A.

We will add that to, coding is almost done, but with the Easter vacation at the door we had to postpone it.

ollipaustTopic starter

Quote from: Alexander on
We will add that to, coding is almost done, but with the Easter vacation at the door we had to postpone it.

okay thats good news!
  •  

fry

is it ready or no videojs   if not pleas tell us how to add it and we will try
  •  

Marius P.

Quote from: fry on
is it ready or no videojs   if not pleas tell us how to add it and we will try

Never finished it, didn't like it once hooked, didn't work with hide path, etc.
It can be hooked like any other player in lib/class.providers.php
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

fry

ok . so i need any jplayer run vast/vpaid tag . or any other player to connect it to phpvibe to work in vast vpaid and also work in html 5 . what your advise as jwplayer and others is chage by cpm and that cost alot as you know so i want tohave our player like easyplayer and jplayer so pleas i need that fast
  •  

Marius P.

I don't know anything about vast/vpaid tag, never have used, so I can't advice you.
If you think videojs can do it for you, go with that, but when I've checked their ads plugin it was very poor.



Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

fry

jplayer look great but is it work perroll with vast tag  or xml   .
  •  

fry

as i need to run xml ads in perroll . what your advise to me pleas ? or advise me by anyplayer that work with it and i will buy it
  •  

Marius P.

jplayer doesn't have the vast tag or any of that support, just html spots which will render the content you add iframe/js/html/.

jwplayer and flowplayer have paid support for it as I know
http://www.jwplayer.com/video-ads/
https://flowplayer.org/forum/#!/plugins#vast-support-in-flowplayer

As I recall this video ads usually have a very poor CPC.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

fry

how to make flowplayer html5 run atuoplay in video starting ? as i change in flowplayer js but it not work , pleas tell me from where and which line
  •  

Marius P.

Quote from: fry on
how to make flowplayer html5 run atuoplay in video starting ? as i change in flowplayer js but it not work , pleas tell me from where and which line


http://demos.flowplayer.org/basics/autoplay.html

All player embeds are for now in lib/class.providers.php
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

fry

ok it is in  lib/class.providers.php  but what code i should change as there is only autostart for jwplayer not Flowplayer , pleas tell me what code i should be change in  lib/class.providers.php ?
  •  

Marius P.

The player's embed function has the same name as the player in this case.

public function flowplayer($file,$thumb, $logo = null, $type=null) {
     $embed = ' <link rel="stylesheet" type="text/css"href="' . site_url() . 'lib/players/fplayer/skin/functional.css">';
      $embed .= ' 
     <script>     var thelogo = "'.$logo.'"; var thelink = "'.site_url().'";</script>
     <script src="' . site_url() . 'lib/players/fplayer/flowplayer.min.js"></script>';
      $embed .= '<div data-swf="' . site_url() . 'lib/players/fplayer//flowplayer.swf"  class="flowplayer color-alt no-background aside-time" data-flashfit="true"  data-scaling="scale" data-embed="false" data-analytics="' . get_option("googletracking") . '">
       <video poster="' . $thumb . '" loop="loop">
       <source type="video/' . str_replace("ogv", "ogg", $type) . '" src="' . $file . '"/>';
      $embed .= '</video>   <>';
     
   return  $embed;                 
     }
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

fry

Mario i know this the embed code fro fplayer but what i have to change in it to make it work autoplay? , as i tried to add <video autoplay> in the embed code but not work it just run the sound and the video not run , i kow i make it wrong  , could you pleas copy to me the embed code with video autoplay run and i will copy it and past it?
thank you for your help
  •  

fry

pleas gave me the code ready with autoplay , i am witting sir
  •  

fry

  •  

fry

my friend
i add this code <video autoplay> above this code <video poster="' . $thumb . '" loop="loop">  and it work but it take more than 1 m to run the video so i think i put the code in wrong place code you show me where i had to put it
best
  •  

Marius P.

Changing:

<video poster="' . $thumb . '" loop="loop">


to


<video poster="' . $thumb . '" loop="loop" autoplay>



as per that tutorial, works fine for me.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

fry

  •  

Similar topics (7)