Foliovision › Forums › FV Player › How to … › Wochit
-
Hi,
I recently purchased Flowplayer Pro because I would like to monetize my videos with pre-roll ads on my site.
I use Wochit videos and they provide code in two ways:
Embed code, in Javascript
Video URLHowever, I don’t know where to insert this in the WordPress plugin interface.
I would appreciate your help with this.Thanks,
Anu
-
-
Hello Anu,
currently we support YouTube and Vimeo.
I had a look at what Wochit is doing here to get an idea: http://www.wochit.com/explore/tech/blackberry-launches–inch-touchscreen-smartphone-announces-slider-phone-71172839
The script on that page looks like this: http://api.wochit.com/api/wochitplayer.js?code=eyJ2ZXJzaW9uIjoiMS4wIiwicGFydG5lcklkIjoiQTM3NEdIIiwicHJvZ3JhbW1lck5hbWUiOiJ3b2NoaXQiLCJ0eXBlIjoiQ0xJUF9JRCIsImRhdGEiOiI3MTE3MjgzOSIsInByZWZlcnJlZFZpZGVvRmFtaWx5IjoiU0QifQ%3D%3D&pid=A374GH&progn=wochit
Could you please paste the embed codes which you have? If they also give your raw MP4 file link, then you can just use these. That won’t give you hot-linking or download protection though.
Thanks,
MartinHi Martin,
Wochit allows publishers to post videos in 3 ways: embed code, URL, and video file. Here’s the code.
Embed code
<script language=’javascript’ type=’text/javascript’ src=’http://api.wochit.com/api/wochitplayer.js?code={video code here}&progn={account id}&autostart=false&width=640&height=360′ data-wochit-uid='{account uid}’></script>
URL
‘http://wochitprod-a.akamaihd.net/artifacts/headlines/singlePlus/{video id}/{video id}-1280x720_Mar_03_2015_7_13_15.mp4
Video file
mp4 (eg. 71208447-1280x720_Mar_03_2015_7_13_15.mp4)
What is my best option here? I also want to monetize the videos. If Flowplayer doesn’t work, I would have to return it and would need a refund. If you know of any other tool I can use, do let me know.
Thanks for your help.
Anu
Hello Anu,
you can insert it like this (please note that this is just a sample URL, you have to put in your real video URL):
[fvplayer src="http://wochitprod-a.akamaihd.net/artifacts/headlines/singlePlus/123456/123456-1280x720_Mar_03_2015_7_13_15.mp4"]
You can use our shortcode editor, just paste your video URL into it. The illustrated user guide is here: https://foliovision.com/player/user-guide
If Wochit providing also a mobile video (lower resolution version of the same video for mobile internet connection)? Then it could be incorporated using our mobile field or using our quality switching: https://foliovision.com/player/switch-video-quality
Thanks,
MartinHi Martin,
When I insert the URL in the Video field in WordPress, I get the following warning on the published video. Unfortunately, my technical skills are not up there to work on this.
Admin JavaScript warning:
I’m sorry, your JavaScript appears to be broken. Please use “Check template” in plugin settings, read ourtroubleshooting guide or order our pro support and we will get it fixed for you.Any help you can provide will be greatly appreciated.
Many thanks,
AnuHello Anu,
as you are our licensed user, we would like to have a look. Could you please setup a test page where we can see this?
Our full checklist of things to check is here: https://foliovision.com/player/installation#fixing-broken-javascript
We can also fix any issue right on your website, so you don’t have to do anything, just order our pro support: https://foliovision.com/support/pro-support
Thanks,
MartinHello Anu,
I had a look. Your site uses some minify plugin to speed it up. It seems to also strip all the JavaScript. With this kind of configuration your site is basically broken and I guess you can’t run half of the plugins available for WordPress.
Troubleshooting steps:
1) deactivate the minify plugin (it’s simply not configured properly if it removes any javascript) and check if it helped
2) switch to default WordPress template, or at least preview your site with it and check if the video playsWe also offer our pro support to fix these issues right on your website.
Thanks,
MartinHi Martin,
I have disabled the minify plugins and minify settings in W3Cache plugin.
When I click Check Template in WordPress Flowplayer, I get the following error:
html5.js not found in your template! Videos might not play in old browsers, like Internet Explorer 6-8. Read our instrutions here.
It appears there are no Flowplayer scripts on your site, your videos might not be playing, please check. Check your template’s header.php file if it contains wp_head() function call and footer.php should contain wp_footer()!
Template checker has changed. Just open any of your videos on your site and see if you get a red warning message about JavaScript not working.
jQuery library 1.7.1+ found: http://{my licensed site}.com/wp-includes/js/jquery/jquery.js?ver=1.11.1!Also, I currently have the FV PLayer Pro and FV WordPress FlowPlayer installed. Should I be having only the Pro?
I hope your team can make sense of this and help resolve this.
Many thanks,
AnuHello Anu,
the important part is: “Check your template’s header.php file if it contains wp_head() function call and footer.php should contain wp_footer()”
It appears that your template is missing the wp_footer() call. You can try to activate a different template (try Twenty Fourteen or Twenty Fifteen – the core WordPress themes) and see if that helps. If yes, then try adding <?php wp_footer(); ?> right before </body> in the footer.php file in your theme directory. This won’t be a problem is you have experience with PHP programming.
Also, it appears your W3 Total Cache is still enabled (important for your site speed) and your HTML is still mangled/minified, but that should not be important right now.
Thanks,
MartinHello Anu,
it appears you are using W3 Total Cache for CSS minify, but the plugin CSS is not included in it properly. You can start by enabling Settings -> FV WordPress Flowplayer -> Integrations -> “Disable saving of color settings into a static file” and then clearing the W3 Total Cache minify.
What kind of ad are you using?
Thanks,
MartinHi Martin,
I completed the steps, and deleted all minify settings, and emptied cache.
The result is the text in the middle has gone, but at the top, I see “Admin: Video OK”
The ad I’m using is from Q1 Media, and is a preroll video ad tag, which I entered as the default ad tag in WordPress Flowplayer:
Thanks,
AnuHello Anu,
it you see “Amin: Video OK”, then everything is alright. It means our player had checked your video and found no errors in the video file, read more about it here: https://foliovision.com/player/faq#properties-built-checker-report-playing
I see that you are trying to use a VAST ad tag. FV WordPress Flowplayer only supports basic ad units and not video ads. You have to use FV Player VAST to be able to use the VAST ads: https://foliovision.com/player/vast
Thanks,
MartinHi Anu,
I answered your support ticket.
Only admins see that “Video OK” warning. Just visit your site as a normal visitor or a logged in user and you won’t see that message. The message is important for admins so it’s always on for the admin user but only the admin user.
We do support VAST/VPAID. It’s a plugin for our player: https://foliovision.com/player/vast
Making the web work for you, Alec