• Skip to content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

Main navigation

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty

Wochit

[Solved]

Foliovision › Forums › FV Player › How to … › Wochit

  • anuvgopal 10 years, 2 months ago

    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 URL

    However, I don’t know where to insert this in the WordPress plugin interface.
    I would appreciate your help with this.

    Thanks,
    Anu

Viewing 15 replies - 1 through 15 (of 15 total)
  • Martin 10 years ago

    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,
    Martin

    anuvgopal 10 years ago

    Hi 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

    Martin 10 years ago

    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,
    Martin

    anuvgopal 10 years ago

    Hi 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,
    Anu

    Martin 10 years ago

    Hello 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,
    Martin

    anuvgopal 10 years ago

    Hi Martin,

    Here’s the test page: {my licensed site}.com/lily-james-dismisses-cinderella-waist-size-criticism/

    Hope you guys can help me with this.

    Many thanks,
    Anu

    Martin 10 years ago

    Hello 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 plays

    We also offer our pro support to fix these issues right on your website.

    Thanks,
    Martin

    anuvgopal 10 years ago

    Hi 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,
    Anu

    Martin 10 years ago

    Hello 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,
    Martin

    anuvgopal 10 years ago

    Hi Martin,

    I copied and pasted <?php wp_footer(); ?> right before </body> in the footer.php file in my theme directory.

    The video plays, but the ad does not, and there’s the “copy and paste this HTML code into your web page ….” in the middle of the video image.

    Anu

    Martin 10 years ago

    Hello 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,
    Martin

    anuvgopal 10 years ago

    Hi 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:

    http://ad4.liverail.com/?LR_PUBLISHER_ID=70481&LR_SCHEMA=vast2-vpaid&LR_VERTICAL=preroll&LR_URL=%5Bpage_url_macro%5D&LR_AUTOPLAY=0&LR_CONTENT=6&LR_MUTED=0&LR_VIDEO_ID=%5Bplayer_videoid_macro%5D&LR_TITLE=%5Bvideo_title_macro%5D

    Thanks,
    Anu

    Martin 10 years ago

    Hello 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,
    Martin

    anuvgopal 10 years ago

    Hi Martin,

    Thanks. Is there a way to remove “video OK.” message? It looks weird to users.

    If Flowplayer does not support VAST ads, then I’ll have to go with VAST.

    Will I still need Flowplayer or can I get a refund for that?

    Appreciate a quick response.

    Many thanks,
    Anu

    Alec Kinnear 10 years ago
    Avatar photo

    Hi 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

Viewing 15 replies - 1 through 15 (of 15 total)
Reply To: Wochit



Please Sign in or Register to upload files.

Related Posts

  1. FV Flowplayer adds Youtube and Vimeo support

    FV Flowplayer adds Youtube and Vimeo support

  2. HTML 5 video player with ads

    HTML 5 video player with ads

  3. Embedded Menus Plugin

    Embedded Menus Plugin

Primary Sidebar

Sign in Register
FV Player Docs Post New Topic

Welcome

to Foliovision support forums! We'll be happy to provide free support to resolve all the reported bugs. You always can start by specifying your OS and browser and steps to reproduce the bug.

If you need help with the installation on your site, please submit a request for a Pro Support Incident. We'll have you up and running in no time, with detailed instructions on how to resolve your issue yourself in the future.

Facing a hard to solve WordPress problem? On a tight deadline?

Let us take care of it for you
right now.

Pro Support Buy FV Player

Footer

Our Plugins

  • FV WordPress Flowplayer
  • FV Thoughtful Comments
  • FV Simpler SEO
  • FV Antispam
  • FV Gravatar Cache
  • FV Testimonials

Free Tools

  • Pandoc Online
  • Article spinner
  • WordPress Password Finder
  • Delete LinkedIn Account
  • Responsive Design Calculator
Foliovision logo
All materials © 2025 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
  • This Site Uses Cookies
  • Privacy Policy
  • Terms of Service
  • Site Map
  • Contact
  • Tel. ‭+421 2/5292 0086‬

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Necessary Cookies

Strictly Necessary Cookie allow you to log in and download your software or post to forums.

We use the WordPress login cookie and the session cookie.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

Support Cookies

Foliovision.com uses self-hosted Rocket.chat and self-hosted Freescout support desk to provide support for FV Player users. These cookies allow our visitors to chat with us and/or submit support tickets.

We are delighted to recommend self-hosted Rocket.chat and especially Freescout to other privacy-conscious independent publishers who would prefer to self-host support.

Please enable Strictly Necessary Cookies first so that we can save your preferences!

3rd Party Cookies

This website uses Google Analytics and Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.

We reluctantly use Google Analytics as it helps us to test FV Player against popular Google Analytics features. Feel free to turn off these cookies if they make you feel uncomfortable.

Statcounter is an independent Irish stats service which we have been using since the beginning of recorded time, sixteen years ago.

Please enable Strictly Necessary Cookies first so that we can save your preferences!