[plugin: ProPlayer] calling player through PHP
-
Hello there,
I am using the proplayer plugin to show video files from various players such as youtube and vimeo. the plugin works great when I add it in a post.
However I have some of my own videos aswel for which I’d like to generate pages. I have everything set up for it, as in I can retrieve the url data from a database ready to be inserted wherever it needs to go.
The problem is that I can’t seem to call the ProPlayer through php. On the website for the ProPlayer plugin the author said it had to be done like this:
<?php $player = new ProPlayer(); $player->buildPlayer("[pro-player]urlforvideo[/pro-player]"); ?>However, when I use that it doesn’t do a thing, when I check the source it’s like it doesn’t generate any html or javascript whatsoever.
Does anyone know what I’d need to add or change to make it work?
The topic ‘[plugin: ProPlayer] calling player through PHP’ is closed to new replies.