11 Commits

Author SHA1 Message Date
Mike Westendorf 30daad0694 Add deprecation warning to README 2017-09-09 11:52:22 -04:00
Nicole Lehrer 1e78889bf9 Merge pull request #52 from vimeo/offlinePlaybackCrash
VIM-3864: Offline playback crash
2016-04-20 19:13:38 -04:00
Alfie Hanssen 6d227fb37f Merge pull request #49 from jersonperpetua/workspace_carthage_support
Workspace Carthage support
2016-04-20 15:36:06 -04:00
Nicole Lehrer 3dd7e8a2be revert back to 1f17c3e179 2016-04-16 15:32:03 -04:00
Nicole Lehrer 215670a00d make restart public 2016-04-16 12:35:05 -04:00
Nicole Lehrer 4ef059b790 remove check for isPlaying 2016-04-16 12:30:54 -04:00
Nicole Lehrer 1f17c3e179 check finished flag for success 2016-04-16 12:28:21 -04:00
Jerson Michael Perpetua cb0da4d8e0 Set the minimum target to iOS 8.0 2016-04-06 09:49:14 +08:00
Jerson Michael Perpetua 85ecae532b Add Carthage support by sharing the VimeoPlayer framework target 2016-04-06 09:49:05 +08:00
Alfie Hanssen 45117c9c7e Merge pull request #47 from vimeo/v6.0.2
v6.0.2 > Master
2016-04-01 12:31:14 -04:00
Gavin King 4e10d0cece Merge pull request #41 from vimeo/v6.0.1
Merging v6.0.1 into master
2016-03-15 19:26:09 -04:00
4 changed files with 113 additions and 5 deletions
+4
View File
@@ -1,3 +1,7 @@
⚠️⚠️⚠️
This library has been deprecated and will be removed in the future. Use [PlayerKit](https://github.com/vimeo/PlayerKit) instead.
⚠️⚠️⚠️
# VIMVideoPlayer
`VIMVideoPlayer` is a simple wrapper around the [AVPlayer](https://developer.apple.com/library/prerelease/ios/documentation/AVFoundation/Reference/AVPlayer_Class/index.html) and [AVPlayerLayer](https://developer.apple.com/library/prerelease/ios/documentation/AVFoundation/Reference/AVPlayerLayer_Class/index.html#//apple_ref/occ/cl/AVPlayerLayer) classes.
@@ -328,6 +328,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = VimeoPlayer/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.vimeo.VimeoPlayer;
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -344,6 +345,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = VimeoPlayer/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.vimeo.VimeoPlayer;
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -0,0 +1,99 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0730"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AF871FFD1CA447E5004C752C"
BuildableName = "VimeoPlayer.framework"
BlueprintName = "VimeoPlayer"
ReferencedContainer = "container:VimeoPlayer.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AF8720071CA447E5004C752C"
BuildableName = "VimeoPlayerTests.xctest"
BlueprintName = "VimeoPlayerTests"
ReferencedContainer = "container:VimeoPlayer.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AF871FFD1CA447E5004C752C"
BuildableName = "VimeoPlayer.framework"
BlueprintName = "VimeoPlayer"
ReferencedContainer = "container:VimeoPlayer.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AF871FFD1CA447E5004C752C"
BuildableName = "VimeoPlayer.framework"
BlueprintName = "VimeoPlayer"
ReferencedContainer = "container:VimeoPlayer.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AF871FFD1CA447E5004C752C"
BuildableName = "VimeoPlayer.framework"
BlueprintName = "VimeoPlayer"
ReferencedContainer = "container:VimeoPlayer.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
+8 -5
View File
@@ -444,13 +444,16 @@ static void *VideoPlayer_PlayerItemLoadedTimeRangesContext = &VideoPlayer_Player
{
[self.player seekToTime:kCMTimeZero toleranceBefore:kCMTimeZero toleranceAfter:kCMTimeZero completionHandler:^(BOOL finished) {
_isAtEndTime = NO;
if (self.isPlaying)
if (finished)
{
[self play];
_isAtEndTime = NO;
if (self.isPlaying)
{
[self play];
}
}
}];
}