Forum Replies Created
-
-
7 years ago in reply to: iframe shows black frame and scroll
Hello Angel,
I see that the playlist doesn’t size properly in the iframe embeds, we will fix that.
Thanks,
Martin7 years ago in reply to: PeepSo Incompatibility IssueHello Clod,
Eduard is gone for a long weekend, he will get back to you about PeepSo.
Regarding FV Player Pro – please make sure you access https://foliovision.com/my-licenses with the account which you used to buy FV Player license, if you have one. If you purchased with PayPal, it used your PayPal email address to create your account.
Thanks,
Martin7 years ago in reply to: Expiration for HLS Encrypted videoHello Ash,
unfortunately we made no progress on that.
We recommend using encrypted HLS streams which is far better protection than a URL signature.
We are currently working on integrating Amazon bucket browser into FV Player, that should make your video posting from AWS easier.
Thanks,
MartinHello Ash,
please let us know more about your use case – why would you need to decode the encryption key at some other time than when you are posting the video into some page with shortcode editor?
Thanks,
Martin7 years ago in reply to: Autoplay muteHello Angel,
could you please post more details about your solution for benefit of other FV Player users? You can post code in the <pre> tags.
Thanks,
Martin7 years ago in reply to: Remove ads for people who have paidHello Gary,
please check our programming guide: https://foliovision.com/player/advanced/api-programming#filters -> fv_flowplayer_args_pre
That filter shows you how to adjust the player shortcode arguments before display. It checks for “autoplay” URL query argument, so that is the place where you could check the user membership/payment.
To get rid of the ads you would have to set the desired shortcode argument properly, depending on what kind of ads you use: https://foliovision.com/player/basic-setup/shortcode-parameters#ads
For simple overlay ads it would be ad_skip=”yes”, for preroll/postroll video ads available in FV Player Pro it would be preroll=”no” or postroll=”no” and for VAST Ads use vast=”skip”.
add_filter( 'fv_flowplayer_args_pre', 'fv_tweak_fv_flowplayer_args_pre' ); function fv_tweak_fv_flowplayer_args_pre( $args ) { if( 1 /* check user membership here */ ) { $args['ad_skip'] = 'yes'; $args['preroll'] = 'no'; $args['postroll'] = 'no'; $args['vast'] = 'skip'; } return $args; }
Thanks, Martin
Hello Gary,
FV Player doesn’t insert any widgets, but please check if enabling Settings -> FV Player -> Integrations/Compatibility -> “Disable saving of color settings into a static file” won’t fix your issue.
Thanks,
Martin7 years ago in reply to: how to add video to already existing playlistHello Gary,
we are working and adding a database of videos and playlist into FV Player.
At the present time you have to find the playlist in your post or page and update it there. It works using shortcodes, which is quick and efficient solution for simple plugins, but now we need something better for FV Player, so we are working on it.
Thanks,
MartinHello Gary,
I installed the Advantage theme from https://wordpress.org/themes/advantage/
At a glance I’m not seeing any issue. Where can I find the masthead settings and what steps do I need to take to reproduce the issue?
We are also happy to fix the issues directly on your website if you purchase the Pro support here: http://foliovision.com/pro-support
Thanks,
MartinHello Ash,
we forgot to mention we also need to know your region setting for AWS Decoder.
You also posted 3 lines for the video Encryption Key, it should be the part highlighted in red only: https://foliovision.com/images/2015/04/encrypted-hls-key.png
We improved the AWS Decoder to report the full error back to you. Please reinstall FV Player Pro from a ZIP file which you get from https://foliovision.com/my-licenses Then switch it to Beta: https://foliovision.com/player/basic-setup/switching-fv-player-pro-to-beta Then when you try to decode your video encryption key you will get an error message from AWS which should help you with understanding what’s wrong with your setup.
Thanks,
Martin7 years ago in reply to: Autoplay muteHello Angel,
please let us know how did you set the video for silent autoplay. The volume setting is stored in browser local storage (similar to cookies). If you use the proper method for muted autoplay it should not matter what the stored volume is.
Thanks,
Martin7 years ago in reply to: Dynamically set video URLHello Hector,
please check https://foliovision.com/player/advanced/api-programming#how-to -> QUICK JAVASCRIPT SAMPLES -> Player initialization via JavaScript.
Thanks,
Martin7 years ago in reply to: Amazon S3 – html5: network error7 years ago in reply to: Amazon S3 – html5: network errorHello Dennis,
you are probably using some plugin which improves the scores your site gets in GTmetrix. It’s removing the version numbers from the plugin JavaScript file URLs. So when there is a new version of a plugin, users might be getting the old version from their browser cache.
It might be even happening to you and it might be the cause of why the video reload doesn’t work for you, but I noticed you have cache disabled in browser developer tools, so it should not be the case.
Thanks,
Martin7 years ago in reply to: FV Pay Per View Number of DevicesHello Richard,
we just released FV Player Pay Per View 0.5 which brings following improvements:
* Fixing video rental duration in email text to respect the settings
* dding option for video rental button text and other messagesIf you don’t see the update available, please grab the new version from https://foliovision.com/my-licenses as we found there was a bug in the licensing code.
We are also discussing the possible improvements of the IP restrictions in email support thread.
Thanks,
MartinHello Brian,
we let Safari 11 play the MPEG-DASH stream, that should fix the issue.
Thanks,
Martin7 years ago in reply to: Any way to auto-generate a splash image?Hello Jeff,
we are working on adding tool which will let you grab the splash screen from any video position which you like.
The first video frame is often black and not all browsers support it. It would also mean more traffic on your video hosting server/CDN. But with FV Player 7 we could check that too, seems like it might make it work for mobile, but I wonder what part of video has to load for this to work.
Thanks,
Martin7 years ago in reply to: Video Ad setting not savingHello Ran,
could you please check this with your server tech support? They might be using mod_security module or something similar that filters the POST requests. It might be the cause of the issue here.
Thanks,
Martin7 years ago in reply to: Adding a Class to the Video ads linkHello Nate,
it actually doesn’t insert an anchor, but hooks to click event on player. So there is no place where such class could be added.
You will have to ask the mobile app developer about this, perhaps you can put some hashmark into the ad URL which will also make it open in the default browser?
Thanks,
Martin7 years ago in reply to: Amazon S3 – html5: network errorHello Dennis,
the query string version in the JavaScript file makes sure you are always using the latest up to date code of any plugin (once it’s updated in wp-admin).
So there is a slim chance that you are simply not getting the latest FV Player Pro JavaScript code and that’s why the video playback doesn’t recover for you. But I think the issue might be with your system clock, we need to see what you get with the latest FV Player Pro on your JavaScript console, as described in my post: https://foliovision.com/support/fv-wordpress-flowplayer/troubleshooting/html5-network-error#post-63006
Thanks,
Martin7 years ago in reply to: Licence keeps dropping outHello Richard,
thank you for the bug report, this has been fixed and FV Player Pay Per View 0.4.1 released.
You probably won’t see the new release because of the issue, but if you change the license key to something else and then put it back it should work. Or you can download the plugin ZIP file from https://foliovision.com/my-licenses
Thanks,
Martin7 years ago in reply to: Amazon S3 – html5: network errorHello Dennis,
it’s just about letting the browser know there is some new JavaScript code. If the query string version on the JavaScript URL is removed the web browser will hang on to the old JavaScript file for much longer and won’t get the updated code on time. This won’t change anything you do with your membership website, but I wonder if this could be part of the reason why the S3 videos fail for you like that.
Thanks,
MartinHello Nate,
you are appending to the class attribute, which is a string of CSS classes, so if you need to append another one you need to include a blank space:
$attrs['class'] .= ' fp-player-mobile';
Then it should work.
I would recommend you adjust the player dimensions as needed using some other filer, I described that in the other thread: https://foliovision.com/support/fv-wordpress-flowplayer/how-to/accessing-video-player-through-wordpress-rest-api#post-62458
Thanks,
Martin7 years ago in reply to: Amazon S3 – html5: network errorHello Dennis,
thank you, that proves that the video URL is loaded with Ajax as it should be. But I’m not sure why the video error is not detected properly and why it won’t try to reload the video for you.
Could you please reinstall FV Player Pro from a fresh ZIP file which get here? https://foliovision.com/my-licenses -> “Download FV Player Pro”
Then you will see a log on the browser JavaScript console (it’s the first tab of Developer Tools named “Console”) when the video error occurs and why it didn’t occur. I’m attaching a screenshot of what I’m getting on https://foliovision.com/player/demos/amazon-signed-urls So we will need to see these console log messages, mainly the “fv-player-ajax-video-error” ones.
I noticed your are stripping the query string versions (here’s why no to do so: How to use WordPress with CDN), so please also make sure you clear your browser cache.
Thanks,
MartinHello Nate,
that div element is there to make sure the player is sized properly in responsive designs. If it causes black bars above and below the videos in your mobile app, then I guess FV Player JavaScript is not getting the correct window width.
You can just try to hide .fp-ratio in your mobile app CSS and see if it helps.
Thanks,
Martin7 years ago in reply to: Start a video muted in the shortcode editor?Hello Dan and hummelmose,
I have to correct Eduard here a bit – the new silent autoplay in FV Player 7 helps making sure the video is allowed to autoplay on mobile devices. But it doesn’t give you the opportunity to start the video muted.
A script like this in your site footer or theme JS file will make your video muted:
flowplayer( function(api,root) { if( jQuery(root).parents('.muted').length ) { api.bind('ready', function(e,api,video) { api.conf.muted = true; api.mute(true); }); } });
All you have to do is place the shortcode in a div like:
[fvplayer ...]Thanks,
Martin7 years ago in reply to: Video Ad setting not savingHello Ran,
thank you for the link to the page where you are having issues with the YouTube video. What does the “Check Template” button says when you click it? It should complain about the second copy of jQuery library found in your site footer: https://code.jquery.com/jquery-1.10.2.js
jQuery is a JavaScript library required by some of the FV Player functions. However when you load it twice on the same page you just break most of the event hooks that it created. It likely breaks all of your plugins that work with jQuery, not just FV Player.
Please get rid of that and your videos will start to play. We are also happy to fix the issue for you, just order our pro support.
—
However that doesn’t explain the video ad saving issue. There should be no problems with YouTube and Vimeo video ads. You mentioned that when you enter an MP4 path like http://mydomain.com/wp-content/uploads/2018/01/WhatsApp-Video-2018-01-21-at-11.56.05-AM-1-1.mp4 that it saves.
What about when you enter one of our public video paths: https://s3-eu-west-1.amazonaws.com/fv-player-unprotected/dominika-960-31_HD.mp4 Will that one save?
If you buy our Pro support, we will solve this issues as well. I think it might be related to your host filtering these Vimeo and YouTube URLs in some way.
Also, do you get the same problem when you try to save the video ads in some other browser?
Thanks,
Martin7 years ago in reply to: Amazon S3 – html5: network errorYou can also check the admin-ajax.php requests which you see in network activity. Does any of them send “action” parameter with value of “fv_fp_get_video_url” as seen on the attached screenshot?
Thanks,
Martin7 years ago in reply to: Amazon S3 – html5: network errorHello Dennis,
do you see “dynamic_domains” in page footer when “Load FV Flowplayer JS everywhere” is enabled?
From the HTML you sent to us it seems that you are serving a pretty bare-bones page HTML which then loads the membership content using Ajax. That might be the culprit, although the above setting helps – it helps all the e-learning sites with WPLMS system for instance.
We are also happy to fix the issue for you directly on your website, just order our pro support.
Thanks,
Martin7 years ago in reply to: Video Ads not loading correctlyHello Nate,
I wasn’t able to reproduce this issue. You can check how it works for us here https://foliovision.com/player/demos/roll-custom-video -> “Playlist”.
Please check if you are using last FV Player (6.4) and latest FV Player Pro (0.9.14). Otherwise there might be an issue, although we would like to avoid it. One of our goals is to provide less updates to users who are not on FV Player Pro Beta release.
FV Player 7 (in beta testing by some of the users) also improves the video ads serving – they are served even if you hit a playlist item directly and there is an option to show the ads even in between the videos.
Thanks,
Martin7 years ago in reply to: Splash image using http rather than httpsHello Deborah,
what exact [fvplayer…] shortcode do you get?
Could you please check if you also get a http:// link when you insert an image using the WordPress “Add Media” button?
Thanks,
MartinHello Marc,
thank you for the bug report!
In our experience it’s easier to always prefer the https:// links. However we did put in a fix and it will be part of the next FV Player version.
In the meantime you can get the new version here if you are in a hurry: https://github.com/foliovision/fv-wordpress-flowplayer/archive/master.zip To reinstall FV Player from that you will have to first deactivate and delete the current FV Player plugin you are using. WordPress will warn you that you might loose settings and data, but it’s not the case with out plugin, no settings now videos will be lost.
Thanks,
Martin7 years ago in reply to: Amazon S3 – html5: network errorHello Dennis,
thank you for the links. I see, your theme is doing something special for the members – it appears the member content is loaded using Ajax. If you use Ajax to load your pages with videos you need to enable the Settings -> FV Player -> Integrations/Compabitility -> “Load FV Flowplayer JS everywhere” setting.
Please let us know if it helped. FV Player only loads its scripts on pages which contain FV Player (to make sure there are no scripts which are not absolutely needed – for page speed reasons), so if you load the pages with videos using Ajax, FV Player needs to be set to load on all pages using the setting mentioned above.
Thanks,
MartinHello Brian,
we were able to replicate the issue on Android 7.1, it’s weird. What helped was loading HLS for that device. Vimeo HLS streams were not safe to play on Android 4.4, but perhaps they work fine on Android 6 and above, we need to check.
Thank you for the video. Could you please play the FV Player video in your Safari and then right click it and choose Inspect Element? You should be able to find a video element easily and see what it’s playing – please see the attached – it’s taken from my Safari 11.0.2 where it plays just fine.
As you can see it plays an m3u8 video – HLS stream. Then you can copy that URL and open it in browser directly – will it play?
You should be also able to test with the HLS and MP4 videos taken from Vimeo directly – just open your video like this: https://vimeo.com/249186045/settings/file – you should be able to see “Access your video files” section which several input boxes. Could you please check if these play properly?
Thanks,
Martin7 years ago in reply to: Amazon S3 – html5: network errorHello Dennis,
please check the wp-admin -> Plugins screen. There you will find both “FV Player” and “FV Player Pro”. The FV Player Pro version needs to be 0.9.14 in order for it to reload the video and FV Player needs to be 6.4 to make sure the full error message won’t appear.
However the issue seems to be that there is a problem with how FV Player Pro parses your video URLs.
Please check your page HTML and see if you find “dynamic_domains” JavaScript array with “region-nae.s3.amazonaws.com/{YOUR BUCKET NAME}” as one of the values.
We need the following to be able to check:
* exact shortcode which you are using (mainly the video URL part)
* “Amazon Bucket” field content from Settings -> FV Player -> Hosting -> Amazon S3 Proteted ContentPlease send these over, we won’t publish it, or you can use https://revealit.me service (no registration required, really easy to use and also secure) to do so.
Thanks,
Martin7 years ago in reply to: Video Ad setting not saving7 years ago in reply to: Video Ad setting not savingHello Ran,
could you please let us know what exact links and video URLs are you entering? A screenshot with the values would help too (if you log in to our forums you will be able to upload images).
What happens if you just try to add simple words or numbers?
Also, what page does it go to when you say it’s a 404 error page? A screenshot would come handy as well, but it has to show the browser location bar.
What other plugins are out using?
Does it also happen with disabled JavaScript?
Thanks,
Martin7 years ago in reply to: Amazon S3 – html5: network errorHello Dennis,
FV Player 7 is a couple of weeks away, it brings features such as remembering the playback position for users, silent autoplay for mobile, video playlist controls and a lot more. We are working with the core Flowplayer team on fixing some of the bugs too, is it uses the new Flowplayer 7 (not so new now, but it still gets new bugfix releases).
Thanks,
Martin7 years ago in reply to: Amazon S3 – html5: network error7 years ago in reply to: Amazon S3 – html5: network errorHello Dennis,
actually the region is not the reason for buffering problem, it’s the reason why FV Player Pro didn’t reload the video on failure. Version 0.9.14 which is now our fixes it in its Beta release.
The video URL was getting displayed due to a bug which I already explained, FV Player 6.4 fixes it.
FV Player 7 will have more improvements, we are working on automated testing for it.
Thanks,
MartinHello Bill,
could you please try again? I suppose you downloaded the file while it was still uploading.
Thanks,
Martin7 years ago in reply to: FV Pay Per View Number of DevicesHello Richard,
we could provide a global configuration preference for this, so you could set it down to 2 browsers.
However it’s not the number of plays, it’s just the number of browsers that can get to the video in the set Rental duration period – so that user can’t just send his login to somebody else to watch the video. But we do allow these extra devices in case he wants to watch it on his mobile or in case he has to switch browsers to be able to play.
We could track the number of plays, but it might not work so well for old mobile phones and it all becomes quite tricky. I would have to discuss that in our team, I see it might be a nice improvement if done properly. But I’m not sure if Vimeo On Demand works that way for example.
Thanks,
Martin7 years ago in reply to: force download of videosHello Marius,
FV Player Pro 0.9.14 will restrict the download button to only show to logged in users. The idea behind that is to be able to check the user membership level before allowing download – however we are not there yet.
I’m not having issues with FV Player download button in Chrome 63 or Safari 11 or Opera 50 – I click the button and it downloads the video.
I can see the issue in Firefox 57 though. Problem is that they prioritize the Content-Disposition data in the HTTP header of the downloaded file over this: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download
I was looking for a JavaScript workaround and for now I had to simply let FV Player Pro show a message like ‘Please click again with right mouse button and select “Save As…”‘ if the user hits the download button in Firefox, IE or Safari below version 11.
This improvement is part of the Beta branch of FV Player Pro 0.9.14 which will be released today. You can check it here when you are logged in.
We are also working (as you noted) on the download button which will appear right there in the player which will work in playlist and lightbox.
Thanks,
Martin7 years ago in reply to: Amazon S3 – html5: network errorHello Dennis,
I think I figured this out, the issue was happening when the AWS Signature Version 4 was being used. Practically speaking it was only working for S3 buckets for which you selected no “Region” in the FV Player settings. This region setting for S3 is now a recommended practice and absolutely required for some of the AWS regions (Frankfurt for example).
FV Player Pro 0.9.14 which fixes this issues will be out today.
Thanks,
Martin7 years ago in reply to: Amazon S3 – html5: network errorHello Dennis,
FV Player 6.4 should be out soon, there is some issue with regeneration of the ZIP files on WordPress.org which we reported.
If prevents the video URL showing to the logged in users unless they can edit the post in which the video is posted.
I’m not sure why the video fails like that for you. You haven’t provided the link to the page where we could see your issue, so can you try on https://foliovision.com/player/demos/amazon-signed-urls instead? The second video loads with an the “Amazon S3 Ajax” option enabled. So you should be able to start playing it, then pause and come back in 16 minutes and see if it fails for you.
Thanks,
MartinHello Dennis,
according to our SMTP logs the last email you had received was on Friday and it was about my reply on the “Amazon S3 – html5: network error” thread: https://foliovision.com/support/fv-wordpress-flowplayer/troubleshooting/html5-network-error
I also see you received 2 emails for this forum topic.
Could you please check your spam or junk folder? Some emails might end up these even though they pass SPF, DKIM and DMARC checks.
You email address is d*@s*.c* Are you forwarding the emails to some other email account?
Thanks,
Martin7 years ago in reply to: Vimeo MPEG DASH Low qualityHello Francisco,
it could be that the Vimeo CDNs are not most effective in your country. I’ll check what is the situation in Brazil like.
Thanks,
MartinHello Brian,
I tested https://www.optimize.me/greatest-year-ever/ with iOS 11.2 and it plays well for me. I’m getting the HLS stream from Vimeo’s Akamai CDN.
MPEG-DASH is actually not supported by iOS, however if you would like to use it for desktop computers, please make sure you updated FV Player Pro to latest version as what you have up now is a version (0.9.11) with a critical bug in MPEG-DASH – if it’s not available for some Vimeo video it won’t play.
Thanks,
Martin7 years ago in reply to: Amazon S3 – html5: network errorHello Dennis,
the first screenshot shows the initial pageload, we need to see the video loading and what happens on failure.
The second screenshot which you posted is what we need. I shows that there was no admin-ajax.php call when the video has failed to load.
Please check if you have the “Settings -> FV Player -> Hosting -> Amazon S3 Protected Content -> Amazon S3 Ajax (Pro)” setting enabled.
Also, I managed to reproduce the URL with the video URL showing to normal users (not admins) on video errors. It did show up if the URL had & and other symbols in it. Fix for this bug will be included in the Monday release of FV Player.
Thanks,
Martin7 years ago in reply to: Vimeo MPEG DASH Low qualityHello Francisco,
we will improve the MPEG-DASH engine to stick to the quality which you have selected. So once you have selected 1080p by clicking it you will get that all the time.
If you have a problem that your video quality gets lower during playback, then it must be caused by some network issue – please see the questions I had about your location and internet connection speed. The MPEG-DASH engine is trying to act for your benefit – to provide smooth streaming with no drop outs.
Thanks,
Martin7 years ago in reply to: Splash image not show if stored on amazon s3Hello Sofia,
I’m sorry about the delay, we have prepared this improvement for the next FV Player version which will go out on Monday.
You can either wait for the next FV Player version which will go out on Monday or you can reinstall FV Player from https://github.com/foliovision/fv-wordpress-flowplayer/archive/master.zip and you will get this improvement right now.
Thanks,
Martin7 years ago in reply to: Amazon S3 – html5: network errorHello Dennis,
for my test I lowered the expiration of the Amazon S3 video link down to 10 seconds.
I played the video at roughly 16:03 UTC time. That’s when the first admin-ajax.php request was sent. In the resulting Amazon S3 URL the “Expires” attribute is equal to 1516118614 which is 16:03:34 UTC so it will really expire soon.
By the way nobody can just copy the link and adjust the expiration freely, as the URL signature wouldn’t match and the file wouldn’t load anymore. So it’s safe that way, Amazon S3 does that correctly.
So it buffered a part of the video, up to 00:14. You can see it on the first screenshot.
I waited for a couple of minutes and played again. Google Chrome decided it will continue loading the video from the existing link which has failed (notice it’s red in the second screenshot) as it has expired.
But since there is the new code which I put in FV Player Pro 0.9.13 Beta – it figured out there is a problem and did another admin-ajax.php call to get a fresh file link. Which then works well and video continues playing, see the second screenshot.
Same thing happens if you seek into an unbuffered part of video. It fetches the new video link.
Please send over a link to your website where we can see that this is not working. Please also include your browser information (version and OS).
Thanks,
Martin7 years ago in reply to: Amazon S3 – html5: network errorHello Dennis,
thank you for the screenshots and for the detailed description, however we needed the screenshot of the Network tab, not the HTML code. I’ll attach a screenshot of how this works well in my testing, or perhaps I will be able to reproduce the bug while doing so.
Thank you for reporting the forum bug, we are handling it in a separate topic which you posted: https://foliovision.com/support/fv-wordpress-flowplayer/bug-reports/why-do-posts-marked-as-solved-allow-for-replies-when-theyre-not-save
Thanks,
Martin7 years ago in reply to: Amazon S3 – html5: network errorHello Dennis,
I don’t see why it would work after 12 and 19 minutes but not after 28.
Thank you for the screenshot, but what would help would be a screenshot of the Network tab of the browser developer tools or a link to he page on your site where we can see it. It can be as simple as your site using the old version of FV Player Pro scripts because of CDN (some people have broken CDN setups without realizing it).
I will be able to work on this on Tuesday as our schedule is already full for Monday, except for critical fixes.
The video URL only shows if the user has capability to edit posts. If you tested with a subscriber user and you still have that trouble, then it might be a bug. The upcoming FV Player 7 will never show the video URL.
Thanks,
MartinHello Nate,
the is currently now way of setting one sitewide default width and height for desktop and one for mobile. You could only enforce it using the “fv_flowplayer_args_pre” filter if you can detect the mobile there: https://foliovision.com/player/advanced/api-programming -> Available WordPress filters
If you mean the REST API, then it seems you can detect it using this in your if statement:
defined( 'REST_REQUEST' )
I’m not sure what the mobile app developer is sending you tips about how to add JavaScript and CSS to WordPress when you need to add it to the mobile app. However you mentioned you put the JavaScript files into some mobile app theme folder and it works.
So I’m a bit confused, is the mobile app actually loading one of your WordPress themes in order to work?
Thanks,
MartinHello Pankaj,
FV Player Pro 0.9.12 has been released. We added some code for Amazon S3 to reload the video if the link expires. It requires that you use the “Amazon S3 Ajax (Pro)” option.
This new code is in the Beta release, to which you will have to switch to get it working, here’s how: https://foliovision.com/player/basic-setup/switching-fv-player-pro-to-beta
Thanks,
Martin7 years ago in reply to: Amazon S3 – html5: network errorHello dplum,
FV Player Pro 0.9.12 has been released. We added some code for Amazon S3 to reload the video if the link expires. It requires that you use the “Amazon S3 Ajax (Pro)” option.
This new code is in the Beta release, to which you will have to switch to get it working, here’s how: https://foliovision.com/player/basic-setup/switching-fv-player-pro-to-beta
Thanks,
Martin7 years ago in reply to: Vimeo MPEG DASH Low qualityHello Francisco,
actually this looks like to be depending more on your country and connection speed than your site.
Could you please check your connection speed here? http://www.speedtest.net/
We will test if the MPEG-DASH quality is properly remembered – you should only have to switch it to say Full HD (1080p) once and then it should load that even if you are on slow network – I think it might keep loading the first segment of the video on a lower quality though.
Thanks,
Martin7 years ago in reply to: Amazon S3 – html5: network errorHello dplum,
we need to improve this to retry the video loading after such a long pause. The idea about letting the browser buffer the full video might work, but different devices and browser would interpret that differently. My guess would be that S3 Flow Shield uses Flash to achieve it which won’t solve it for mobile devices and overall Flash is deprecated.
So I’m having a look at improving this now.
Thanks,
Martin7 years ago in reply to: Javascript Memory Problem ?Hello Miles,
thank you for the video showing the problem!
However I’m not able to reproduce this isssue on https://tangotopics.com/musical-5a/ I see you are still on the latest FV Player and FV Player Pro versions, but my CPU usage is normal (low) for both Safari and Chrome when I open that page. No issues when I play the video either.
No issues when using the Google Chrome -> Developer Tools -> Performance either. It shows CPU activity only during the page load.
Thanks,
MartinHello Ken,
I think normally WordPress parses these video links like YouTube or Vimeo into their iframes automatically. Is that happening on your site?
But you can try what happens if you put this into your theme functions.php:
add_filter( 'the_content', 'fv_player_comment_text', 0 );
But ideally FV Player would just overtake the WordPress function I mentioned above.
Thanks,
MartinHello Ken,
the code for shortcode adjustment for these comments might look like this, so you can put in your condition easily.
add_filter('comment_text', 'tweak_fv_player_shortcode', 9 ); function tweak_fv_player_shortcode( $shortcode ) { $shortcode = str_replace( '[fvplayer ', '[fvplayer ab="true" ', $shortcode ); return $shortcode; }
Thanks,
MartinHello Ken,
the filter is hooked to comments like this:
add_filter( 'comment_text', 'fv_player_comment_text', 0 );
— https://github.com/foliovision/fv-wordpress-flowplayer/blob/master/controller/frontend.php#L527
Then the shorcode parsing is enabled:
add_filter('comment_text', 'do_shortcode');
So you could put in another filter at priority between 1-9 which would alter the shortcode using str_replace(). Since you want to detect the user membership level I don’t see how we could make this part of the FV Player settings.
Thanks,
MartinHello Nate,
could you please ask the mobile app developers what is the proper way of including extra CSS and JS? Can you link in individual CSS files using tag and can you include script tags?
Or are you limited to entering inline CSS and inline scripts? Please check one of my previous posts where I posted exact instructions – which of these worked? https://foliovision.com/support/fv-wordpress-flowplayer/how-to/accessing-video-player-through-wordpress-rest-api/#post-61928
Thanks,
Martin7 years ago in reply to: pop-up menu on long pagesHello Andy,
please let us know what browser you are using. I was not able to reproduce the issue in Firefox 57.0.4 on OS X 10.12.6.
My text was 24 pages long (well, by page I mean the editor height – around 21 lines of text) and I didn’t had issues with the popup menu – I could click any image and access its properties using the WYSIWYG editor.
Thanks,
Martin7 years ago in reply to: Use colorbox link in theme/templateHello Gerald,
the HTML markup which you used works with FV Player lightbox: https://foliovision.com/player/basic-setup/using-lightbox#lightbox-without-fvplayer-shortcodes
However – for it to work it must be part of the post content – the WordPress the_content filter must be running on it. I explained that in the above documentation.
Thanks,
Martin7 years ago in reply to: Fullscreen in iframeHello William,
I just noticed this old unsolved thread – you can use the allowfullscreen attribute on your iframe tags these days and have the fullscreen working that way.
Thanks,
MartinHi sdugoten,
it’s fixed now. It was not detecting your crossdomain.xml file as you are using the port number 8134, so we had to improve the video checker a bit.
Thanks,
EduardHello Nate,
your code is missing the opening script tag. It might work and it might not work, depending on the app – does it accept script tags or does it only accept straight JavaScript code? Based on that you might need to use loadScript() function as described before.
You should be able to get a hint about this from the mobile app developers if it has support. Based on that we can provide some documentation on how to do this.
Thanks,
MartinHello Nate,
I see it gets more and more tricky. I see now that the mobile app is not loading the FV Player CSS (as why would it? it doesn’t load the head section of HTML) – if you can add FV Player CSS from your site, there should a file like this: https://your-site.com/wp-content/fv-flowplayer-custom/style-1.css
To make YouTube and Vimeo play you will also have to take the fv_player_pro.min.js file and include it the same way as you did with fv-flowplayer.min.js – you can just add in another script tag or another loadScript() call, depends on what’s working.
However you will also have to set the fv_player_pro config variable. Please see the HTML code of any of your pages where a Vimeo video is embedded and you should be able to copy that whole
Hello Nate,
are you able to put a script tag into it? Then you should try:
Then it should work if the app triggers the DOMContentLoaded JavaScript event each time you open some article.
If you can’t put in a script tag you can try to use JavaScript like this:
function loadScript( url, callback ) {
var script = document.createElement( "script" )
script.type = "text/javascript";
if(script.readyState) { //IE
script.onreadystatechange = function() {
if ( script.readyState === "loaded" || script.readyState === "complete" ) {
script.onreadystatechange = null;
callback();
}
};
} else { //Others
script.onload = function() {
callback();
};
}script.src = url;
document.getElementsByTagName( "head" )[0].appendChild( script );
}loadScript('https://your-site.com/wp-content/plugins/fv-wordpress-flowplayer/flowplayer/fv-flowplayer.min.js?ver=6.3.11', function() {
fv_player_load();
});
You haven’t answered the question about what video types you are using though, if it’s something that only plays with FV Player Pro, then that would have to be included too. So I suggest you do your first test with a simple MP4 file, like https://foliovision.com/videos/dominika-960-31.mp4
Thanks,
MartinHello sdugoten,
your video is missing the CORS headers, please read about how to fix it on AWS here: https://foliovision.com/player/video-hosting/hls#cors-in-amazon-s3 That page also contains instructions about how to add the missing crossdomain.xml file which is important for playback in Flash.
It appears you are not using AWS, so you will have to do something a bit different. but the idea is the same and CORS is what you have to go looking for.
Thanks,
MartinHello Michael,
FV Player 7 will handle this properly and play the video once clicked. We wanted to make the beta version available for public this week, but then we figured out we need to make the installation and rollback even more simple than we originally thought, so it will have to wait until January 2018.
Thanks,
Martin7 years ago in reply to: Chapters and AB looping APIHello Harry,
there will also have to be a way of associating that extra VTT file with FV Player. It could go into shortcode like loop=”chapters-for-loop-only.vtt”, you can then load that up in custom PHP code and have it appear as data on the FV Player element (and then you could call that new function to create chapters from it). I can document that in the FV Player API guide.
Thanks,
MartinHello Debbie,
in that case putting this JavaScript into footer might help:
document.addEventListener("DOMContentLoaded", fv_player_load );
It runs that fv_player_load() function once the page finishes loading. FV Player does exactly that, but it uses jQuery to hook it in. Perhaps that part is somehow broken on your site.
Thanks,
Martin7 years ago in reply to: Chapters and AB looping APIHello Harry,
3) Separate chapters and loops – you said you want to use the data FV Player Pro loaded from VTT. I checked that and it’s not so simple to re-use our code here. We could refactor it a bit to allow you to call something like fv_player_pro_parse_chapters( {player}, {vtt file}, {targetdiv} ). That way you could have one VTT file for chapters and one for loops and have them render into separate containers.
4) AB loop “I” and “O” buttons – we are improving the appearance of these for FV Player 7. However they can’t be too small as then they are hard to tap on tablets and mobile.
5) Placing the chapters menu inside the video element – you could just place the target div (which I mentioned above as a parameter of the fv_player_pro_parse_chapters()) into .fp-player. That would be a good start to have it appear above the player and in fullscreen.
While we might be interested in having the chapters show up above the player and in fullscreen, I’m not sure if rectangles would be our preferred display style. A simple vertically scrollable list might be easier to navigate.
Thanks,
MartinHello Deborah,
it might be pretty tricky actually, but with https://github.com/creativelive/FacebookWebbrowserDebugApp you should be able to use the JavaScript debugger to figure out why fv_player_load() is never executed. As a quick fix you can try to force run it in page footer.
Thanks,
Martin7 years ago in reply to: Failed to load videoHello Rosy,
thank you for going through the troubleshooting steps.
Your screenshot shows errors “FV VAST SDK load failed!” and “FV VAST Video tag timeout.”. I’m not getting any of that, instead I get “FV VAST Ad error: AdError 1010: The ad playlist response was malformed or empty.”.
That is not a valid VAST XML.
I also tried to use VPN in New York, but I got the same. But it doesn’t appear like your ads are only enabled for some countries and there is something wrong with your ad configuration.
Thanks,
MartinHello Deborah,
I checked it out and it appears fv_player_load() is not properly called even though it’s hooked to the document ready JavaScript event. Seems like anything in
jQuery(document).ready( function() {
...
});
doesn’t run. However it works for other sites when browsing to them with the browser in Facebook App.
Thanks,
MartinHello Deborah,
it’s almost impossible to debug the iOS Facebook App browser, but I read it’s using the standard web view of the iOS and that the following tools can be used to debug it:
https://github.com/creativelive/FacebookWebbrowserDebugApp
https://github.com/paulirish/iOS-WebView-AppThanks,
Martin7 years ago in reply to: FV Player Pro key will not registerHello Marius,
thank you for the bug report. We actually check if the error is with “SSL” before retrying. But I guess it’s better to drop that. I did so, starting from next release it will just try to connect without SSL verification if anything fails.
Thanks,
MartinHello Nate,
here if says that iframe should work: http://docs.apppresser.com/article/288-custom-html-pages
Here it says custom JavaScript is supported, but it must not use jQuery which FV Player does: http://docs.apppresser.com/article/392-custom-javascript Perhaps it would to upload jQuery and FV Player scripts using the “Custom Javascript” feature seen on the previous documentation link? But I don’t think it would work.
What video types are you using? If it’s just plain MP4/HLS videos perhaps you should try to use
tags and see if the app work with it. Otherwise I recommend you ask the app support about iframe and why it won’t show for you when you use it as part of the post content.
Thanks,
MartinHello Nate,
1) this is tricky to figure out, could you please check how is the mobile app rendering the content it reads from the REST API? I’m guessing it only reads the post content, so any scripts which initialize the player won’t take effect as they are in footer. Can you get some specs from that from your developers of from documentation of the framework which you are using?
2) Will the app not render iframe such as this one properly?
3) Can you include a link to the REST API for us to see what is actually there?
Thanks,
MartinHello Nate,
the player is typically inserted into the post content, so I guess the HTML markup for it should show up in your app just fine.
However I’m not about the JavaScript part of it. It seems to me that part has to be handled in your app.
Is your app able to render web content in the iframe tag? In that case the FV Player iframe embed codes could be used for video in the REST response for the app.
Thanks,
Martin7 years ago in reply to: Playlist with Vast not showing ads on mobileHello Rosy,
FV Player VAST 0.7.9 is out. We were forced to disable the playback of skipable VAST ads on iOS 10 as that’s there the issue has started. We will be able to enable it once we release FV Player 7 – after some careful testing.
You can check the improvements on https://foliovision.com/player/demos/vast-ads
Thanks,
Martin7 years ago in reply to: Skin not workingHello John,
I don’t see any problem with the CSS code above, seems like it works properly.
It seems you don’t have the FV Player Pro license – please double-check that your are using some video type which is handed by FV Player. In the free version you only get the basic YouTube embed code for YouTube videos for example, so these color settings don’t apply to it.
Does it work properly if you use some default WordPress theme such as Twenty Seventeen?
Thanks,
MartinHello Michael,
we want to improve this. If you know CSS, you can use this as a really quick fix until we get around to it:
.flowplayer.is-vast .fp-player:after { content: "This is just an advertising"; color: white; z-index: 99999; background: red; position: absolute; padding: 5px; bottom: 0; }
Thanks,
MartinHello Adam,
1) we will contact you about these translation files.
2) We are preparing ad blocker detection in FV Player VAST. Are you using the simple overlay ads and are you looking to prevent video playback if these are disabled? Please let us know and we will discuss possible solution in our team.
Thanks,
Martin7 years ago in reply to: Chapters and AB looping API7 years ago in reply to: 2017 iPad Pro — Videos FreezingHello Devin,
to put up the site tracking codes we use our plugin FV Simpler SEO. So you could try that, unless you are already using some other SEO plugin. It does have an import functionality for SEO titles and meta descriptions from All in One SEO Pack (it’s fully compatible no import needed actually) and Yoast SEO.
I’m not sure about old Vimeo videos not having HLS available, but it appears to not be the issue here. If there are no quality control buttons, then it’s HLS.
Two more ideas:
1) Will the HLS video at https://foliovision.com/player/demos/hls-stream play for him without issues?
2) What about using Google Chrome on iPad? Will that one play fine?
This should allow us to rule out the possibility of some conflict with some iPad app or rule out possibility of Vimeo networking issues.
Thanks,
Martin7 years ago in reply to: 2017 iPad Pro — Videos FreezingHello Devin,
could you please install Google Analytics? That way you will be able to check the stats of how many video errors occur. All of that is in this guide: https://foliovision.com/player/advanced/google-analytics-fv-player There might be some small amount of video errors due to network issues etc., but it shouldn’t be more than %0.05 of video plays.
I realized MPEG-DASH won’t help for iPad as iPad doesn’t support it. Vimeo has the HLS streams for iPad and iPhone and FV Player Pro does load these. And these HLS streams are also on multiple CDNs, so they should be reliable. Let me double-check what happens when one CDN fails and it has to load the video for the other for these HLS streams.
I also double checked if I get any issues on iPad with iOS 11 here: https://countryguitaronline.com/bury-me-beneath-the-willow-guitar-lesson/ And I did play the full video and I was even connecting using a VPN in Miami.
Some more troubleshooting steps:
You said your videos keep freezing for him, which exact video is that? Perhaps it’s something old and it doesn’t even have a HLS version?
How much time does it take before he video freezes? Is it a couple of minutes or something like every 10 seconds?
Is the user seeing the quality switching buttons on the video? That would mean it somehow plays MP4 for him and not HLS.
Can you ask the user to play the video on foliovision.com homepage? https://foliovision.com/ Does it get into same trouble?
Thanks,
MartinHello Michael,
FV Player Pro 0.9.10 is out and so if FV Player VAST 0.7.7. You need to update both plugins to get this fixed. Then the autoplay will be automatically stopped for the encrypted HLS videos and in case you still need to use autoplay=”false” somewhere it will work as well.
Thanks,
Martin7 years ago in reply to: FV Player pay per view problemsHello Richard,
that plugin will only log future emails of course.
Could you please let us know what email addresses you see on the Download -> Payment History screen currently?
Thanks,
Martin7 years ago in reply to: FV Player pay per view problemsHello Richard,
thank you, however you need to check the payment on the Download -> Payment History screen – what email address shows up there?
You can also install a plugin like https://wordpress.org/plugins/wp-mail-logging/ to get a log of what emails are sent.
Also, what payment gateway are you using? I checked and I see Test Payment, PayPal and Credit Card (Worldpay). What gateway did you used when the issue occurred?
Thanks,
MartinHello Michael,
FV Player Pro 0.9.9 is out and it fixes the issue.
Unfortunately for now it the “fix” means that autoplay for Encrypted HLS streams is simply disabled. We could make it work, but it could make the video protection a bit weaker. We need to think about it how to really support autoplay for these videos.
Thanks,
Martin7 years ago in reply to: translate pre roll textHello Fabio,
thank you for the translations, we will include them in the next FV Player Pro version (today or tomorrow).
Thanks,
Martin7 years ago in reply to: This ad will end in xx secondsHello MBD S.,
thank you for the translation of these phrases, we will include them in the next release of FV Player Pro.
Thanks,
Martin7 years ago in reply to: FV Player pay per view problemsHello Richard,
1) I see, it shows 47 hours only as it rounds the number down. So if you have 47 hours 59 minutes and 59 seconds remaining it doesn’t show 48 but 47.
It’s fixed and FV Player Pay Per View 0.4 is released. In this new version you can also set the global time to watch a video, instead of the default of 48 hours.
2 & 3) You should be getting your password on your email. Could you please post what details you see in Download -> Payment History -> pick your payment and open it to see details ? I’m interested to see what shows up for Email mainly.
Thanks,
Martin7 years ago in reply to: Problem with Pre-roll Ads on iOSHello Fabio,
what does our video checker say about your video?
I checked http://www.martesana.tv/hosted/ on Google Chrome and the 1 minute 41 seconds video there is 33.4 MB in size which means it requires 2.65 Mbps = 331 kB/s download speed to play smoothly, but the video was only downloading for me at 100 kB/s.
Then it was working fine, loading at 600 kB/s.
But it would still fail for me. It appears as soon as the playback enters 20th second it fails – is the video corrupt? I even tried to download and it failed to play even in QuickTime Player on OS X.
Please put in http://video-cdn-public.foliovision.com/Swan-Lake-Reloaded-sd.mp4 and see if it still fails for you because of JetPack.
Thanks,
Martin