Foliovision › Forums › FV Player › Troubleshooting › Firefox issues with custom audio sample rate
-
-
Hello Miguel,
is this also happening on our demo page? https://foliovision.com/player/demos/flowplayer-quality-switching
Thanks,
MartinHello Miguel,
thank you for posting URL for your videos. I had a look and I’m noticing issues with audio speed in Firefox (version 31.0 on OS X 10.9.1 and also version 30.0 on Windows 7). Video stopping during quality switching in not occurring however.
We are having a look at the video encoding. I’m noticing this is a known bug in Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=875644
If you set it to prefer Flash, then at least users with Flash installed wouldn’t get into this issue.
Thanks,
MartinHello Miguel,
the audio sample rate in a video which I checked is 24000Hz, which is non-standard. The standard sample rate is 44100Hz. As you can see in the bugzilla link I posted above, non-standard rates (including 48000Hz) cause issues in Firefox and it’s up to them to fix it.
So we can only fix the RTMP signed URLs (download protection) to provide a good workaround for you.
Thanks,
MartinThanks,
in the future i will encode the new videos with handbrake and your recommended settings. Right now all have AAC audio but the rates are different. So the standard audio for all formats mobile, sd, hd should always be 44.100Hz?
Thanks for the rmtp fix, that will then allow to seek the videos, right?
Miguel
hi,
another fix was for the Android platform. There’s 2 bugs in the player:
1. When you play and then you seek, the 3 dots stay on the video while it plays.
2. When you go full screen, no controls are available, you cannot play/pause or seek the video.
I tested with the Samsung Galaxy Tab 4 tablet.
Thanks
Miguel
In firefox the audio is in slow motion. If i select force flash by default, then in firefox everything works fine but by doing that, the videos don’t work anymore in internet explorer and i can no longer seek the video in any browser, so it must be something to do with the player in order to have it work fine in firefox. In all other browsers it works fine.
You had mentioned that there was an issue due to the file protection in cloudfront.
Hello Miguel,
this is related to a Firefox bug as I mentioned above.
Here’s a workaround which will allow you to prefer Flash for Firefox only. By using Flash, the Firefox bug won’t occur (and the audio will sound normal), although you will loose the ability to seek into un-buffered parts of the video. But at least it will only affect Firefox.
Put this code at the start of your footer.php file (it needs to go before PHP block with wp_footer() in it):
<script>
if(navigator.userAgent.toLowerCase().indexOf(‘firefox’) > -1) {
jQuery(‘.flowplayer’).attr(‘data-engine’,’flash’);
}
</script>We will fix the RTMP protected URLs support.
Thanks
MartinHello Miguel,
the RTMP now works with CloudFront protected URLs. More details in our blog announcement: https://foliovision.com/2014/07/wordpress-video-cloudfront
Demos here: https://foliovision.com/player/demos/cloudfront-download-protection
This allows you to add a RTMP distribution for your MP4 videos – just a bunch of extra configuration on CloudFront and in the plugin and then the videos will play via RTMP where Flash is installed – resolving the Firefox issues with the files with unusual audio sample rate.
Thanks,
Martin