Skip to content

Commit 3c4d6f6

Browse files
webview url changes
1 parent 60bae1a commit 3c4d6f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

youtube-android/app/src/main/java/com/flipkart/youtubeviewdemo/youtubenative/YouTubePlayerAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public void onBindViewHolder(final YouTubePlayerViewHolder holder, int position)
5959
YouTubePlayerView playerView = holder.playerView;
6060
String videoId = videoIds.get(position);
6161

62-
playerView.initPlayer(Constants.API_KEY, videoId, "", playerType, null, fragment, imageLoader);
62+
playerView.initPlayer(Constants.API_KEY, videoId, "https://cdn.rawgit.com/flipkart-incubator/inline-youtube-view/60bae1a1/youtube-android/youtube_iframe_player.html", playerType, null, fragment, imageLoader);
6363
}
6464

6565
public static class YouTubePlayerViewHolder extends RecyclerView.ViewHolder {

0 commit comments

Comments
 (0)