Note that there are some explanatory texts on larger screens.

plurals
  1. POMPMoviePlayerController Audio show "Done" Button
    primarykey
    data
    text
    <p>I use the MPMoviePlayerController to Play an Audio Stream. My code follows the example at:</p> <p><a href="http://iosdevelopertips.com/video/getting-mpmovieplayercontroller-to-cooperate-with-ios4-3-2-ipad-and-earlier-versions-of-iphone-sdk.html" rel="nofollow noreferrer">http://iosdevelopertips.com/video/getting-mpmovieplayercontroller-to-cooperate-with-ios4-3-2-ipad-and-earlier-versions-of-iphone-sdk.html</a></p> <p>Everything works fine, but while the stream is playing there is no "done" button to close the Player.</p> <p>I tested it first with a normal .mp3 file. With the file the only possibility I found is to skip to the end, so the player gets the <code>MPMoviePlayerPlaybackDidFinishNotification</code> notification (but this won't work on an endless stream, since there is no timeline to skip to the end).</p> <p>I tried various styles like <code>[mp setControlStyle:MPMovieControlStyleFullscreen];</code> with no succes.</p> <p>In the documentation at <a href="https://developer.apple.com/documentation/mediaplayer/mpmovieplayercontroller" rel="nofollow noreferrer">MPMoviePlayerController Class</a> stands:</p> <blockquote> <p>This class plays any movie or audio file supported in iOS. This includes both streamed content and fixed-length files</p> </blockquote> <p>Is there a possibility to display that button while playing some audio content, or has anyone another solution?</p> <p>I tried to show you an screenshot but "new users can only post a maximum of two hyperlinks".</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload