I'm testing the Firefox Simulator recently, and I noticed that for the add-on simulator the Gallery reads the pictures from /pictures on my pc, and Video reads the videos from /videos as well.
Later I ran the simulator on my mac, it can get music from /itunes, pictures from /users/username/pictures but I don't know where to put the video files for the simulator to read. I have tried the fake-sdcard folder and /users/username/movies, they both didn't work.
Thank you.
you can put .mp4 or .3gp videos in any point of the fake-sd folder
this should work
Related
below are 2 video files uploaded in aws. it will play in chrome or firefox etc, but wont play in safari
https://s3.ap-south-1.amazonaws.com/apppreprod/Vid_637768063547139404.webm
https://s3.ap-south-1.amazonaws.com/apppreprod/Vid_637745132425435217.mp4
The issue is that safari wont play videos uploaded into blob storage like aws.
recomended solution is to save the video in other server and it will play in safari.
The two links you provide can be opened in other browsers. I tested it with an iPhone, and found that it could not be opened in the safari browser, but the other three-party iPhone browsers can. After checking the Apple official website, it is certain that the safari browser of the iPhone supports the MOV video format.
suggestion:
When uploading a video, the video can be converted and stored as needed
Even within the simplest html file, a video file is played extremely sluggished (about 8fps) in Firefox Mac. Other browsers/OS work fine. When i use the url of the video directly in the browser, no problem. I happens only when inserted into a html, using a standard html5-video.
Example of video url :
http://maxxhat.com/wp-backend/wp-content/uploads/2018/08/showreel-short.mp4.mp4
Using latest versions of MacOS High Sierra (Version 10.13.6) — Firefox Quantum 61.0.2 (64-bit)
Any idea ?
Thank you!
Ok i got it :
I had two attributes that were slowing it down drastically:
style="filter:brightness(108%);" (used to correct some rgb range interpretation) and... muted !
Beware that removing the muted blocks the video on Chrome. So i ended up building an exception on Firefox to remove the attribute muted.
The iPhone I'm using for development only outputs sounds through the headphones for all the apps I'm running from xcode. Other apps (like Youtube or iTunes) play sound just fine, and also building and testing the very same apps on a different device (an iPad) works perfectly. Running the apps in simulator also works as intended.
I'm using:
Xcode 6 (working in Swift 1.2)
AVFoundation library and AVAudioPlayer
iPhone 6 Plus (with iOS 8.4.1)
the phone is not in silent mode
Any tips or hints would be appreciated. Thanks
Sometimes the audio route can get a bit messed up.
You should listen to the audio route changes using the AVAudioSessionRouteChangeNotification
See HandlingAudioHardwareRouteChanges
You can also force the audio route if needed. Working with Audio Input and Output Routes
Oh, and also check the reason for the change to know why its happening on that app. AVAudioSessionRouteChangeReason
I'm using video-js player for .webm, .mp4 videos, in all players is working fine but not on Mac Safari 6 (didn't test other versions).
I have MIME type in my .htaccess file for webm and mp4.
Does anyone have some experience with this?
Thanks
Note: Videos are working well on my local server, just online is problem.
I am having a very frustrating issue with HTMl5 video and safari/mac.
I am using html5 video throughout the site where needed and it works/plays on every browsers bar safari on a mac (its fine on safari windows and chrome mac for example)
The videos dont stream and only play once the entire file is downloaded. At first I thought it may be to do with the index of the file being at the end and not the beginning (link html5 video = safari wants to download it all) so i tried qtindexswapper but when loading the MP4 into the program it said the MOOV/Index was in the correct position.
Anyone have any idea why safari mac has this issue?
A.
I've seen HTML5 be very picky with videos. They may play fine in a player, but not play or maybe play with no audio once embedded. This is usually due to a video not properly created/formatted. In most cases, re-creating the file in a professional level program alleviates the issue.