1. Sandip Das2's Avatar
    I am making a web based video marketing tool i.e. content showing over video , it's working on all android devices well, but when trying oh iphone device that playing web video on it's own player and our video content not showing over video . It will be great to know why that happening
    08-25-2015 05:53 PM
  2. Just_Me_D's Avatar
    I don't know. Why don't you take a moment and send feedback to Apple and see what kind of response/advice you receive?
    08-25-2015 07:24 PM
  3. Scatabrain's Avatar
    I am making a web based video marketing tool i.e. content showing over video , it's working on all android devices well, but when trying oh iphone device that playing web video on it's own player and our video content not showing over video . It will be great to know why that happening
    I have seen web pages where the video does not pop out full screen. I would google what the properties are that make it behave one way or the other. It is a safe assumption that without some direction from your page to keep it where it is, it is using a default state by playing it full screen. A little googling should reveal the answer easy enough.

    Cheers.
    08-25-2015 08:16 PM
  4. SeanHRCC's Avatar
    08-26-2015 12:39 AM
  5. Scatabrain's Avatar
    Guys, he asked about Web video. I am assuming from that he means in a web page.

    A native app can play video any size. I think it's safe to assume that's not what the question is about.

    It's less obvious for a website that will make it play full screen by default.
    08-26-2015 08:03 AM
  6. Scatabrain's Avatar
    Here is the answer:

    HTML

    <video id="player" width="480" height="320" webkit-playsinline>

    Obj-C

    webview.allowsInlineMediaPlayback = YES;

    FYI: Stack Overflow is one of the best places to get answers to dev questions - web or native.
    08-26-2015 08:15 AM
  7. SeanHRCC's Avatar
    Guys, he asked about Web video. I am assuming from that he means in a web page.

    A native app can play video any size. I think it's safe to assume that's not what the question is about.

    It's less obvious for a website that will make it play full screen by default.
    If you clicked the link I provided and scrolled down to UIView...webview was part of the sub-menu explanation. The link I provided was an overall approach to framework settings...given he's a developer, I figured it would be easy for him to scroll to the section relevant to his issue.
    08-26-2015 03:55 PM
  8. Scatabrain's Avatar
    If you clicked the link I provided and scrolled down to UIView...webview was part of the sub-menu explanation. The link I provided was an overall approach to framework settings...given he's a developer, I figured it would be easy for him to scroll to the section relevant to his issue.
    Yeah. I was figuring 'web' dev. Based on the question I am thinking he scripts HTML/JS etc.

    FWIW: For apps, I find AVFoundation a great approach as you have good control over audio tracks and video clips.
    08-26-2015 04:30 PM
  9. Scatabrain's Avatar
    I am having a same issue. Please let me know when it resolved. Thanks in advance
    Are you saying you are also making a web product that you want the videos to show in a certain way, not full screen etc? For that the answer is above.

    Or are you browsing the web and prefer the videos not show full screen? This is controlled by the web site using the tags above. If they don't specify, it will default to full screen.

    In theory you could contact your favorite websites and state your preference. Or contact Apple and voice your opinion for the default behavior.

    In practice though I would bet most users like the full screen videos. They are easier to watch. So I would think websites and Apple will stay this way.

    Perhaps try some other browsers. They may have different behavior or more customization.

    Cheers.
    08-27-2015 01:31 PM

Similar Threads

  1. Replies: 4
    Last Post: 03-31-2016, 08:39 PM
  2. Replies: 2
    Last Post: 08-25-2015, 05:14 PM
  3. Can I get some help syncing my iPad using Windows 10?
    By iMore Question in forum General Apple News & Discussion
    Replies: 1
    Last Post: 08-25-2015, 04:16 PM
  4. Apple Watch owners love checking the weather
    By iMore.com in forum iMore.com News Discussion
    Replies: 0
    Last Post: 08-25-2015, 04:12 PM
  5. Replies: 0
    Last Post: 08-25-2015, 02:40 PM
LINK TO POST COPIED TO CLIPBOARD