iOS Question playing video files with system player

Discussion in 'iOS Questions' started by cengolo, Mar 29, 2015.

  1. cengolo

    cengolo Member Licensed User

    i have a webview that loads assets from the local Files folder.
    the folder also contains MP4 and MOV files.
    i want them to be played externally, by the system player, not inside the webview.
    is that possible?

    tried the code below, does not work:



    Sub WebView1_OverrideUrl (Url As String) As Boolean
    If Not(Url.Contains("html")) Then
    App.OpenURL(Url)

    Return True
    End If
    End Sub
     
  2. narek adonts

    narek adonts Well-Known Member Licensed User

    Why you are not using the Video View object. it is the same system video player.
     
  3. cengolo

    cengolo Member Licensed User

    as far as i see videoview plays the files "inside" the app. what i want is that my app stays intact, a player window opens, plays the video and when the user clicks finish on top left as usual, returns to the app. i dont want to add videoview panel to my app window.
     
  4. narek adonts

    narek adonts Well-Known Member Licensed User

    you can create a separate page for video view and open it as presentation. I think this is the best solution that almost all the apps are using.
     
  5. cengolo

    cengolo Member Licensed User

    any hints on how i can do that :) will be most helpful...
     
  6. cengolo

    cengolo Member Licensed User

    is it possible to open videoview automatically fullscreen with the "done" button on the top left?
     
  7. narek adonts

    narek adonts Well-Known Member Licensed User

    yes. will make you a sample bit later
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice