• 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

apasho

  • Profile
  • Topics Started
  • Replies Created

Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • 3 years ago in reply to: Videos not playing on a particular page on mobile devices with my custom code
    apasho

    I tried running the script without
    fv_player_load();
    fv_autoplay_exec();
    flowplayer(#${window.fpId}).load()
    but it would no longer autoplay on desktop and still videos will not play on the watch page on mobile.
    Any other ideas?

    3 years ago in reply to: Videos not playing on a particular page on mobile devices with my custom code
    apasho

    You can view the javascript code here, https://dev.vitaes.com/wp-content/themes/vitaes-bridge-child/js/watch.js

    The function, display_vitaes_iframe(), though we are not longer using video iframes, is the function that inserts the shortcode output.

    3 years ago in reply to: Videos not playing on a particular page on mobile devices with my custom code
    apasho

    This is the code for inserting the flow player code into the watch page:
    function vt_get_video_html() {

    if ( !wp_verify_nonce( $_POST[‘nonce’], VITAES_NONCE)) {
    exit(‘Missing nonce! Please refresh this page.’);
    }

    if ((isset($_POST[‘video_id’])) && (strlen(trim($_POST[‘video_id’])) > 0))
    $video_id = trim(stripslashes(strip_tags($_POST[‘video_id’])));
    else
    $video_id = ”;

    if ((isset($_POST[’embed_width’])) && (strlen(trim($_POST[’embed_width’])) > 0))
    $embed_width = trim(stripslashes(strip_tags($_POST[’embed_width’])));
    else
    $embed_width = ”;

    if ((isset($_POST[’embed_height’])) && (strlen(trim($_POST[’embed_height’])) > 0))
    $embed_height = trim(stripslashes(strip_tags($_POST[’embed_height’])));
    else
    $embed_height = ”;

    echo do_shortcode(‘[fvplayer id="'.$video_id.'" width="'.$embed_width.'px" height="'.$embed_height.'px" autoplay="true"] ‘);

    die();
    }

    3 years ago in reply to: How use the ‘finish’ event?
    apasho

    It seems if the videos were set to autoplay then more than one are going to attempt to play on page load. But, using this code,

    flowplayer(0).bind('finish', function(e,api,time) {
    console.log('video has finished');
      if(jQuery(cdata).parent().next().length){
        jQuery(cdata).parent().next().find('a').click(); 	
      }  
    });
    

    I am able to switch to the next panel when a video finishes. The only issue is to get the currently displayed video to play. Often when I call api.load(), a video not currently visible begins to play. Is there a way to find the current video and give it the command to play?
    The currently visible panel uses the class ‘vc_active’.

    And yes, I am using

    flowplayer( function(api,root) {
      api.load();
      ...
    });
    

    Thank you for your response.

    3 years ago in reply to: How to scroll the video into view?
    apasho

    Yes, your code for scrolling works well.

    3 years ago in reply to: How to run player api functions on iframe inserted by AJAX?
    apasho

    Ok, I have rewritten my code. Now I am inserting the output of

    do_shortcode(‘[fvplayer id="'.$video_id.'" width="'.$embed_width.'px" height="'.$embed_height.'px"] ‘);

    into a page when a link is clicked.

    Now there is no video element in the shortcode output until the play button is clicked. And I am not able to initialize the api with
    if( typeof(flowplayer) != “undefined” ) {
    flowplayer(function (api, root) {
    …

    Perhaps the inserting of the video html and the flowplayer initialization are not taking place in the correct order. But it does not seem to help to run flowplayer(function (api, root) before the video html is added to the page. Do you have any solutions?

    3 years ago in reply to: Videos don’t play on older iPhones
    apasho

    I’ve updated the plugin and on the old iPhone, cleared the browser data and tested it, yet there was no change. Still the video will not play.

    3 years ago in reply to: Videos don’t play on older iPhones
    apasho

    The videos are ok. It must be the issue with iOS that is causing the problem. Than you for your help.

    Admin: Video OK
    
    Analysis of (redacted).m3u8
    
    Mime Type: application/vnd.apple.mpegurl
    crossdomain.xml: Warning: crossdomain.xml not found - won't play in IE 11 and below, see our guide here
    Compatibility: CORS headers found
    Duration: 00:21:49.00
    Video:
    [hls,applehttp @ 0x50673c0] Opening '(redacted).ts' for reading
    [hls,applehttp @ 0x50673c0] Opening '(redacted).ts' for reading
    Input #0, hls,applehttp, from '(redacted).m3u8':
    Stream #0:0: Video: h264 (Main), yuv420p(tv, smpte170m), 640x360 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Audio:
    Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp
    
    Analysis of (redacted).mp4
    
    Mime Type: video/mp4
    Format: mp42
    Duration: 00:21:48.10
    Bitrate: 650 kb/s
    Video:
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '(redacted).mp4':
    Stream #0:0(und): Video: h264 (High), yuv420p(tv, smpte170m), 640x360, 393 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc (default)
    handler_name : L-SMASH Video Handler
    Audio:
    Stream #0:1(und): Audio: aac (LC), 48000 Hz, stereo, fltp, 253 kb/s (default)
    handler_name : L-SMASH Audio Handler
    Video meta data: moov-atom not found at the start of the file. Please move the meta data to the start of video, otherwise it might have a slow start up time when using Flash. Plese check the "How do I fix the bad metadata (moov) position?" question in FAQ.
    
    3 years ago in reply to: Videos don’t play on older iPhones
    apasho

    Unfortunately my previous test was not with the correct videos. The videos still fail to load even when using the small video files (101.5 MB). What I am seeing in the browser network tab is that the 360p MP4 are attempted to be loaded. It could be a lack of memory.

    3 years ago in reply to: Videos don’t play on older iPhones
    apasho

    I uploaded a 360p MP4 file and used it for the mobile video in the FV Player and it plays on the old iPhone. That seems to solve this issue; I will use MP4 files instead of HLS files for mobile.

    3 years ago in reply to: Videos don’t play on older iPhones
    apasho

    The file format is m3u8. Later today I try using mp4 and let you know the result.

Viewing 11 replies - 1 through 11 (of 11 total)

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!