Skip to content

Commit

Permalink
0.9.7.1: Fixed yt player
Browse files Browse the repository at this point in the history
  • Loading branch information
feelfreelinux committed Nov 2, 2018
1 parent 628dac5 commit 69a415f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class YoutubeActivity : YouTubeBaseActivity(), YouTubePlayer.OnInitializedListen
const val EXTRA_URL = "URLEXTRA"

fun createIntent(context: Context, url: String) =
(createVideoIntent(context as Activity, GOOGLE_KEY, extractVideoIdFromUrl(url.replace("m.", "")), 0, true, false))
(createVideoIntent(context as Activity, GOOGLE_KEY, extractVideoIdFromUrl(url.replace("m.", "")), 0, true, true))


private fun extractVideoIdFromUrl(url: String): String? {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ allprojects {
versionMajor = 0
versionMinor = 9
versionPatch = 7
versionBuild = 0
versionBuild = 1
}
}

Expand Down

0 comments on commit 69a415f

Please sign in to comment.