PHPfox-Official / phpfox-v4-issues

phpFox Public Bug Tracker
https://phpfox.com
30 stars 21 forks source link

video uploads on iPhone 11 Pro max IOS 14.4 do not show full width ? #2999

Closed spirogg closed 3 years ago

spirogg commented 3 years ago

Important

Please follow this template!


What's happened?

...when uploading a video from your iPhone and hold the phone sideways ( wide view to record as video, it still does not show wide.. ?

but if I create a video on my iPhone in wide view and then later select and upload it shows in wide view on desktop sites.

in early versions of phpfox, I remember from Android the wide view recording and uploading worked well full width but now with iPhone full width is not possible?

Steps to reproduce:

  1. go to videos and select upload video
  2. hold phone side ways ( wide view ) and select video and start recording for a few 5 10 seconds.
  3. then stop and upload that video and wait for ffmpeg to process then go to videos app to view on desktop, open full screen does not show full screen?
  1. record a video sideways ( wide view on your iPhone.) first
  2. now go to website from your iPhone and select upload video
  3. select photos where your video is saved and select the video you created wide view
  4. now upload that video and wait for ffmpeg to process
  5. now go to videos app on desktop and start video and select full screen view.
  6. you will see this video is full screen (wide view) works as expected.

What's expected?

...

Browsers and Devices tested

(Example: Chrome on iPhone X, Safari on Macbook, Miscrosoft Edge on Windown 10, Firefox on Ubuntu 16.04, ...)

Server information

(Example: CentOS 7, php 7.1 apache) CentOS 7 php 7.4 apache and Nginx ...

phpFox version

(Example: phpFox 4.6.0) 4.8.3 ...

Screenshots

...SCREEN SHOT BELOW

spirogg commented 3 years ago

PS I have set my iPhone to 4k 60 FPS in setting. but when click upload video and select video it does not give any options to set video to 4k 1080 720 etc. is there a possible way to add code in video app to be able to select what you want to record. 4k 1080 720 ?

or

thank you again hope you and your family are all Healthy my friend @harrison05 Spiro

harrison05 commented 3 years ago

Hi @spirogg

We will check this issue.

Regards.

harrison05 commented 3 years ago

Hi @spirogg

This issue occurs because the resolution of video file when you record directly is not the same as the recorded file.

Screen Shot 2021-03-24 at 16 13 25

On iOS 14.4, if you use QuickTake (step 2 in your Steps to Reproduce) video always in 1080p - 30fps. It means video resolution is 480x360 (4:3) and after you uploaded and view it on feed, video width doesn't fully fill on feed container (16:9), so you will see black on sideways. This case also happens with some Android phones, it depends on video resolution. It isn't a bug from our Video app. Btw, we will improve in the next version and don't set a ratio 16:9 to all videos uploaded on newfeed to make sure almost them will show full width.

Regards.

harrison05 commented 3 years ago

We improved the layout of video on feeds in version 4.7.9

Regards.