Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC-iOS
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
264
Issues
264
List
Boards
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VideoLAN
VLC-iOS
Commits
e203705b
Commit
e203705b
authored
May 10, 2015
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playback: push fullscreen video screen if the user starts playback of a media with a video track
parent
7529df34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
Sources/VLCPlaybackController.m
Sources/VLCPlaybackController.m
+7
-2
No files found.
Sources/VLCPlaybackController.m
View file @
e203705b
...
...
@@ -48,6 +48,7 @@
BOOL
_mediaIsAudioOnly
;
BOOL
_needsMetadataUpdate
;
BOOL
_mediaWasJustStarted
;
}
@end
...
...
@@ -307,18 +308,19 @@
_mediaPlayer
.
position
=
lastPosition
;
[
self
subscribeRemoteCommands
];
[[(
VLCAppDelegate
*
)[
UIApplication
sharedApplication
].
delegate
playlistViewController
]
displayMiniPlaybackViewIfNeeded
];
_playerIsSetup
=
YES
;
_mediaWasJustStarted
=
YES
;
}
-
(
void
)
alertView
:(
UIAlertView
*
)
alertView
clickedButtonAtIndex
:(
NSInteger
)
buttonIndex
{
if
(
buttonIndex
==
1
)
[
self
_playNewMedia
];
else
{
else
[
self
stopPlayback
];
}
}
-
(
void
)
stopPlayback
...
...
@@ -795,6 +797,9 @@
if
(
title
.
length
<
1
)
title
=
[[
_mediaPlayer
.
media
url
]
lastPathComponent
];
}
else
if
(
_mediaWasJustStarted
)
{
_mediaWasJustStarted
=
NO
;
[(
VLCAppDelegate
*
)[
UIApplication
sharedApplication
].
delegate
presentMovieViewController
];
}
/* populate delegate with metadata info */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment