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

Foliovision

  • 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
Home

apasho

  • Profile
  • Topics Started
  • Replies Created

Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • 4 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?

    4 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.

    4 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();
    }

    4 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.

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

    Yes, your code for scrolling works well.

    4 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?

    4 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.

    4 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.
    
    4 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.

    4 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.

    4 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

  1. My Video Bookmarks
  2. My Video Playlists
  3. TEST
  4. Test Bunny CDN vs. DigitalOcean Spaces CDN
  5. Video Speed Tests
  6. FV Flowplayer Expiration
  7. About
  8. Checkout
  9. Foliovision Tools
  10. FV Player
  11. Job offers
  12. Store
  13. WordPress
  14. Cookies
  15. Donate
  16. Enter your VAT Information
  17. FV Pro Support
    We’ll solve your WP Video problems right now
  18. FV Publisher
  19. Hosting signup
  20. How to pay your invoice in the new billing system
  21. Humanmetrics Jung Typology Test Result
  22. Best Practices for Sharing Sensitive Information
  23. Billings Page
  24. Client Section
  25. Foliovision Hosting Signup
  26. Renew or upgrade your plugin
  27. Site Map
  28. FV Flowplayer 5 Download Test Page
  29. Referrals
  30. My Profile
  31. Flowplayer
  32. My Licenses
  33. Portfolios
  34. Additional Information
  35. Theme Comparison
  36. Video Services Request
  37. Thanks for your message
  38. Thanks for Applying!
  39. Thoughtful Comments
  40. Teamwork to Basecamp 3 Migration Wizard
  41. Typepad to WordPress deposit payment
  42. Weblog
  43. WordPress 3.3 Upgrade Order Form
  44. WordPress Programmer’s Homework

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 © 2026 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‬