Forum Replies Created
-
-
7 years ago in reply to: Using FV Player with WP Offload to S3 Pro
Hello Ryan,
it looks to me like you created some custom functionality for your website around FV Player, which handles the file uploads and then shows them with FV Player. Could you please confirm?
How are you passing the video URL to FV Player? Do you just create a [fvplayer…] shortcode with the URL in it? Seems to me you should be doing that dynamically with wp_get_attachment_url() as the WP Offload to S3 Pro authors suggested. The code might look like the second code sample in FV Player API guide: https://foliovision.com/player/advanced/api-programming
We are reworking the way how FV Player stores the video information. There will be a set of database tables with the player properties, video information and video meta information. We can certainly let the WP Media Library items hook to the player via their IDs rather than URLs there. In fact, is the src parameter in [fvplayer] shortcode has a numerical value, it could just load that media item.
Thanks,
Martin7 years ago in reply to: Audio only with the Ab Loop functionHello Chris,
the accuracy of the loop markers is a the biggest limiting factor on that. It’s more accurate to use the hotkeys (i and o). So if you listen to the beat and you hit these keys carefully you get an loop which if good enough for musicians to play on top of it.
However since the HTML5 video engine is a bit limited there is a noticeable glitch which is around 100 – 200 ms. So it’s not perfectly in the rhythm.
I did some experiments and we can bring it down to about 50 ms if we improve the code a bit. It seemed almost perfect to me as a guitarist. It depends on the length of the look as well – if you are looping 8 or 16 bars, it’s good enough, but looping of 1 or 2 bars it’s just too distracting.
The second video on https://foliovision.com/player/demos/user-ab-loop has a strong beat, so you can do some testing there, but it would be better if you let us improve the timing first.
Thanks,
Martin7 years ago in reply to: Trying to get property of non-object inHello Tery,
sorry about the delay on this, please let us know if you are still having these issues and what are the PHP line numbers now.
Thanks,
Martin7 years ago in reply to: Detect if video is watched to the endHello Gerald,
thank you for pointing out the mistake, it’s fixed now. We didn’t notice there is anything wrong as we had Google Analytics on on our website – that’s what _gat is for. I fixed it now.
Thanks,
Martin7 years ago in reply to: Error in frontend.php on line 163Hello Vijay,
if you get that error, you must be using PHP 5.2, which is too old. Although WordPress runs on PHP 5.2.4 and above, it’s not recommended anymore as there are even some security issues with in that version.
We will fix this in our plugin though.
Thanks,
Martin7 years ago in reply to: Detect if video is watched to the endHello Gerald,
the code you found uses the same principle of the FV Player Google Analytics tracking – you have to watch the entire video to make sure it tracks. So if you just seek to the end of the video it won’t trigger.
I tested the code to be sure it’s working and found that it uses one of FV Player Pro variables in the Ajax call. I changed that to use what’s available in the free plugin.
Other than than it works. When testing, make sure you watch the full video, or you click through it carefully to make sure you see each quartile of the video – you can also debug that on this line: https://gist.github.com/foliovision/2c266598333ecbd1f151#file-fv-player-custom-ajax-tracking-js-L38 You should see that all of fv_custom_track_start, fv_custom_track_first quartile, fv_custom_track_second quartile, fv_custom_track_third quartile and fv_custom_track_complete if being triggered.
Thanks,
Martin7 years ago in reply to: pop-up menu on long pagesHello Andy,
please reinstall the plugin from this ZIP file: https://github.com/foliovision/foliopress-wysiwyg/archive/master.zip
Then clear your browser cache, load the post editing again and the issue should no longer be happening. The problem is that Google Chrome is handled as Safari in the FCKeditor code, so we put in a code to do it differently for these contextual menus.
Thanks,
MartinHello Allyn,
thank you for the bug report! We fixed it for the upcoming FV Player release. If you need it right now, you can get it here: https://github.com/foliovision/fv-wordpress-flowplayer/archive/master.zip
Thanks,
Martin7 years ago in reply to: Disable Video Ads For Logged-in UsersHello MBD,
you shouldn’t be modifying any plugin core code.
Instead, you can unhook the function which puts in these video ads via WP filters API by putting this code into your theme functions.php file:
add_action( 'init', 'fv_tweak_video_ads' ); function fv_tweak_video_ads( $arg ) { if( is_user_logged_in() ) { global $FV_Player_Pro; remove_filter( 'fv_flowplayer_playlist_items', array( $FV_Player_Pro, 'video_ads' ), 10, 2 ); remove_filter( 'fv_flowplayer_playlist_item_html', array( $FV_Player_Pro, 'video_ads_item_html') ); } }
Please let us know how it goes. We could add an option for this as well, but then some websites will require that the user has a paid membership and then it goes really complex. We should master that though.
Thanks,
Martin7 years ago in reply to: PeepSo Incompatibility IssueHello Clod,
the filter hook to allow us to tweak the video display should be available in PeepSo video plugin version 1.9.7 (due around March 20).
Thanks,
MartinHello Harold,
you can use a CSS like this to prevent it:
#fv_player_pro_boxOverlay { pointer-events: none; }
However we will be changing the lightbox library used by FV Player in a month or two, so you will probably have to update it then.
Thanks,
Martin7 years ago in reply to: PeepSo Incompatibility IssueHello Clod,
everything that is configured in the global settings would work – to yes to AB loop and the logo. But everything that requires more data specified in the shortcode – such as the subtitles – won’t work.
Thanks,
MartinHello watchthepix,
yes, you should be seeing a note in FV Player Pro settings that only the “Exoclick zone ID” part of Exoclick ad code is required.
However I see that you get following error on your website on the JavaScript console:
invideo.js?ver=4.9.4:6 Uncaught TypeError: $f.addPlugin is not a function at invideo.js?ver=4.9.4:6
Please submit that to Exoclick ads support, it seems as if they are trying some extra ad initialization. They try to use some addPlugin call of Flowplayer which doesn’t exist – it’s something that existed in Flowplayer 3, but not in Flowplayer 6, which is the core of FV Player. It seems to me that their video player detection code is flawed, as they seem to work with Flowplayer 5 too, which is not that far from Flowplayer 6.
Thanks,
Martin7 years ago in reply to: PeepSo Incompatibility IssueHello Clod,
I see, we thought you just want to show the videos insterted with PeepSo Video addong in FV Player. If you would like tho use FV Player in your posts created in PeepSo, then you will have to talk to them to allow use of shortcodes. If we would have to provide a new video button like PeepSo Video addon does, it would be a fairly big project.
Thanks,
Martin7 years ago in reply to: PeepSo Incompatibility IssueHello Clod,
we got a reply from PeepSo CTO Matt:
We get these embed codes straight from the APIs of the video hosting services. I can pass this entire output through a filter, but not sure how useful would that be for you?
I ensured him it’s just what we need, so hopefully it will be part of one of the next versions. Then it should be really easy for us to let FV Player display these videos.
Thanks,
Martin7 years ago in reply to: Same VAST tag for some videosHello Florian,
we were thinking of adding presets. Currently FV Player has a single global configuration (skin, various special buttons and so on). So you could create multiple presets of such configuration and also specify different VAST ad for each. However it’s not currently a priority.
If you are a PHP programmer you can also use the WordPress filters to set the individual player VAST ad URL based on (for example) post category, FV Player has a “fv_flowplayer_args_pre” filter available: https://foliovision.com/player/advanced/api-programming
Thanks,
Martin7 years ago in reply to: Converting JW Player shortcodesHello Florian,
hopefully the JW Player shortcodes reference images which still exist in your database and it’s just bug on our end.
Could you please check if opening URL like https://xxxxx.com/wp-admin/post.php?post=538511&action=edit opens a “Edit Media” screen for the correct image file and that the image is displayed?
Could you please reinstall FV Player from this ZIP file and see if it fixes the issue? https://github.com/foliovision/fv-wordpress-flowplayer/archive/jw-player-import-fix.zip
To do 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. You can also just replace the files via FTP.
Thanks,
MartinHello watchthepix,
next release of FV Player Pro will have a fix for this in its beta release – only zone ID will be the mandatory parameter.
To get this fix right now you can just download a new copy of the plugin from https://foliovision.com/my-licenses and then install from that ZIP file. To do that you first have to deactivate the plugin which you are currently using, then delete it (WordPress will warn you that you will lose some data, but it doesn’t apply to our plugin, no settings nor videos will be lost) and then use Plugins -> Add New -> Upload function with the ZIP file.
Thanks,
Martin7 years ago in reply to: PHP Notice on the line 748Hello Leho,
I’m sorry about the delay on this, if you would provide your VTT file, there is chance we would come to this earlier.
But I know what it’s like when you submit a bug report along with a suggestion how to fix it and the plugin authors don’t seem to care.
Could you please reinstall FV Player Pro from a fresh Zip file you get at https://foliovision.com/my-licenses and let us know if that fixes your issue? I added the initialization of the variable like you suggested.
Thanks,
Martin7 years ago in reply to: PeepSo Incompatibility IssueHello Clod,
thank you, I had a look at the plugin, made some notes and will discuss possibilities of adding support for it with Alec.
Thanks,
Martin7 years ago in reply to: Cannot activate plugin after updateHello Ian,
sorry about that. We fixed it and released FV Player 6.4.2. I see where the mistake was made and also why our automated testing didn’t catch it – it only applies on PHP version lower than 5.5 and we only run very basic tests on that version. That’s something to improve.
Thanks,
MartinHello Aldric,
sorry about that. We fixed it and released FV Player 6.4.2. I see where the mistake was made and also why our automated testing didn’t catch it – it only applies on PHP version lower than 5.5 and we only run very basic tests on that version. That’s something to improve.
Thanks,
MartinHello Brian,
new release of FV Player Pro in its Beta brach(here is how to switch to it) plays the Vimeo HLS streams on Androind 4.3 and above. We figured out it was the HLS subtitles which were causing the issues on it.
It should be released later today. It should fix your Android issues with certain Vimeo videos you were having. I was no longer able to replicate the issues you were having.
Thanks,
Martin7 years ago in reply to: Player takes a while to switch to HDHello Evélina,
we adjusted this to pick the best stream automatically. Until now it was always using the first one, but it makes more sense to let it check what streams are available and pick what is most suitable. I tested this with a mobile internet connection and I was getting the low quality stream, on fast connection I get the HD right away and there is no noticeable slowdown in video loading.
Please reinstall FV Player from http://wordpress.org/plugins/fv-wordpress-flowplayer/ and let us know how it’s going.
In FV Player 7 you will also get the quality switching menu for these HLS streams on the desktop computers (which use HLS js), so you will be able to switch to HD stream even on slow connections – you will just have to wait longer for it to load.
Thanks,
Martin7 years ago in reply to: PeepSo Incompatibility IssueHello Clod,
I checked the Hello World plugin for PeepSo, but it’s too basic.
I see the VideoSo plugin works pretty nicely: https://www.peepso.com/downloads/vidso/#prettyPhoto
Not only it adds a button to insert a video, but it then also lists there videos on your profile etc. So it’s not easy to beat. If we only make sure shortcodes are supported it won’t list the videos so nicely and users will also have though time inserting the videos.
I imagine we could change the way the videos from VideoSo are displayed to use FV Player, but I guess it would be a custom programming job.
Thanks,
Martin7 years ago in reply to: Speed buttons do not show on ipadHello Debbie,
actually YouTube doesn’t offer these video speeds for YouTube videos at all. It must be giving using some special video stream for iPads which doesn’t support changing of the playback rate.
Thanks,
Martin7 years ago in reply to: Amazon S3 – html5: network errorHello Dennis,
thank you for the video. Actually the “Default Expiration Time” setting only applies when not using “Amazon S3 Ajax (Pro)”. We should be hiding that setting for users who enable “Amazon S3 Ajax (Pro)”.
So your video shows that it actually worked for you this time and as I explained increasing the timeout won’t change anything. You can even see the video request which ended up with HTTP 403 error – because the link has timed out.
So I wonder why it wasn’t working for you before, specially as you have cache disabled in your browser and you should always be getting fresh JavaScript files.
You can test https://foliovision.com/player/demos/amazon-signed-urls by playing that video right there, then pausing it and coming back later. That will show if the issue is related to your website or to FV Player Pro code or to your specific situation somehow.
Blocking mouse right click might discourage some users, but you can still get at the page HTML code by looking for that function in the web browser menu.
FV Player dones’t work with PHP session. The PHP session takes place between the browser and the server hosting the website, while your videos are hosted on AWS, so it don’t see how that could be related.
Thanks,
Martin7 years ago in reply to: Amazon S3 – html5: network errorHello Dennis,
thank you for the screencast.
I was not able to reproduce this error on the second video here: https://foliovision.com/player/demos/amazon-signed-urls Could you please test on that link as well? I reduced the timeout of the video down to 10 seconds for that page, so it should be easy for you to test it out.
Could you please double check that Settings -> FV Player -> Integrations/Compatibility -> “Prefer Flash player by default” is disabled on your site?
Thanks,
Martin7 years ago in reply to: force download of videosHello Marius,
thank you for posting the details of your setup privately.
We were recently solving some video download issues on one of the websites. In the end we added a KeyCND pull zone in front of the video storage server, which reduced its traffic, improved speed and it also has a setting for force download.
Also, you mentioned you use the fv_player_pro_boxElement class. That comes from Colorbox which we use for lightbox. We will be changing that to Fancybox soon.
Thanks,
MartinHello Ash,
we are almost finished with a new FV Player API function which lets you register FV Player custom video fields. You call a single line of PHP and you get a post editing meta box with the “Add Video” button which brings up the shortcode editor and it also previews the video that is inserted.
Wouldn’t that solve your issues? Let us know, I’m eager to get it finished and post some documentation.
Thanks,
Martin7 years ago in reply to: iframe shows black frame and scrollHello 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,
Martin