Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7697041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T21:55:09+00:00 2026-05-31T21:55:09+00:00

I have a video in one tab and some data analysis based on the

  • 0

I have a video in one tab and some data analysis based on the video in another tab.
My second tab depends a lot on the naturalSize of the video.
I listen to the notification for the video’s naturalSize in my first tab and as soon as I get it I store the naturalSize in a shared object for both the tabs and in viewWillAppear of the second tab I use the that value.

My problem is the notification for naturalSize is not generated unless I play the video.
How should I go about it ?

I tried playing and pausing the vidoe in first tab’s viewDidLoad but it doesn’t work.

UPDATE: Although There is no direct solution for generating the notification but please checkout my answer for a workaround where you don’t need to be dependent on the notification at all when you are not streaming a remote video and it’s locally available.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T21:55:10+00:00Added an answer on May 31, 2026 at 9:55 pm

    This is by design and there is no workaround. The natural size of a video when being played back using MPMoviePlayerController is not known until that movie is playable – that is, the player needs to pre buffer the video until enough information is available.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some jQuery tabs one of which holds a flash video. When I
I have one video object and 3 thumbnails which, when clicked, will play different
Can you recommend a single downloadable video ( one that you have actually watched
So I have real time video stream. With 1 (one) person on It .
for instance, I have 2 model Drummer and Video If I use one-to-many association
I have an activeX control that contains one window that has streaming video being
I have one video file inmy system I want it to attach it on
I need to have the possibility to play more than one video in an
I have a page of several videos. One can click a thumbnail to play
I have video durations stored in HH:MM:SS format. I'd like to display it as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.