0
votes
0answers
10 views

Youtube API how to play video from 0 seconds when video ends? Iframe, Javascript

So I have My code it detects when the player has stopped the problem is I can't get it to play from 0 seconds when the end has come I'm using the Iframe embed that holds a html5 video, Here is the ...
0
votes
3answers
37 views

Rate youtube video using POST command javascript

I am fairly new to javascript so does anyone know how to do a POST command to like a youtube video? using this: POST https://www.googleapis.com/youtube/v3/videos/rate with youtube apiv3
0
votes
0answers
22 views

Retrieve specific type of activity from vactivity feed Youtube api V3

I would like to retrieve only certain type of activities of the youtube api v3 activites list. there are so many types: -bulletin -channelItem -comment -favorite -like -playlistItem -recommendation ...
-1
votes
0answers
30 views

Forcing youtube iframe to pause/stop when the user closes a popup window

The video should autoplay when the user opens the popup window and stop/pause when the user closes the popup. Thanks! This is my html code: <div id="iframedivYoutube" class="roundedDiv ...
0
votes
0answers
17 views

using YT JS API code to get embed video code

I am trying to use the Youtube JavaScript method of calling on the SWF file, I am using FancyBox and I've added certain buttons already such as a grab code button so my users can grab the embed code. ...
1
vote
0answers
66 views

On Play: Make Youtube Video Full Screen

Using the Youtube Javascript API; is there a way to make the video play full screen when the 'Play' button is clicked? I am aware of a way to make the video container full screen but this only works ...
0
votes
0answers
29 views

Retrieve Lastest Youtube video with JS/jQuery and embed via iFrame

I need to use JS/jQuery in order to populate an iframe with the single most recent video on a youtube channel while also bringing up the description and title into HTML tags of a specific class. It ...
0
votes
0answers
58 views

youtube API functions just stopped working

I am making a web app based on Youtube AS3 APIs. Everything was going well and now suddenly all my player functions have stopped working. No event apart from "onYouTubePlayerAPIReady" is being called. ...
1
vote
1answer
179 views

Why is the YouTube JavaScript API OnPlayerStateChange event handler no longer working? Is this a catastrophic bug? [duplicate]

As of 2013-06-13 at approximately 2 AM, my streaming video service FMGEM.com can no longer auto-advance playlists. I was just notified of this as it has affected a production system that has not ...
0
votes
2answers
178 views

YouTube Player API: retrieving a reference to an existing player

I'm developping a Google Chrome extension, using content script. I want to interact with pages embedding a YouTube video player. I have include the www-widgetapi-vfljlXsRD.js as a JavaScript file, and ...
0
votes
1answer
82 views

having trouble with youtube player api

A feature I am trying to implement in my rails app is the ability for users to control embedded youtube videos. I am using the youtube player api (guidelines here: ...
0
votes
1answer
14 views

format of yt.play playlist for embedding a playlist

Writing first chrome extension and I cant figure out how to load a playlist with my YT.Player, my attempts of just having an "array" of video ids does not work. Sorry if this is an easy question to ...
0
votes
0answers
19 views

Use a youtube playlist and go to other page after it finishes? [duplicate]

I want to make a webpage with a youtube playlist and, when it finishes playing all the videos, automatically must redirect to another webpage. How do I do this? I am new in web developing, so please ...
0
votes
0answers
80 views

I update the same video ID, but the youtube-api v3 still show “Video not found”

I used google js api Link1and youtube v3 api Link2 I want use js to update my video, the js code for listing videos: var requestOptions = { playlistId: playlistId, part: 'snippet', //id: ...
6
votes
1answer
176 views

Uploading a video to youtube from browser

Im OK authorized. I have 2 button's like this on my page: <input type="file" id="fileToSend"/> <input type="button" onclick="upload()" value="Upload" id="btnSend"/> I want to upload ...
0
votes
0answers
54 views

Dynamically Embed Multiple swfObject

Each page contains several youtube videos (retrieved from an xml file). Every time a next page button is clicked, a new set of videos are loaded into the main container on the body while deleting all ...
0
votes
1answer
142 views

Using Javascript to scan JSON data from youtube API

I am trying my hand at searching youtube with the youtube API via Javascript, and as per the google docs on the matter: <div id="agenda"></div> <script> function ...
0
votes
2answers
41 views

How to make Youtube Data Search API open for public usage?

Currently, I can use Youtube Data API to search for videos. However, I must be logged in onto my google account. Is it possible to conduct searches without logging in into an arbitrary google account? ...
0
votes
1answer
92 views

nextPageToken undefined when listing all videos for a Youtube channel (API v3)

I've followed this example nearly step by step for generating a list of all uploads for a specific Youtube channel: https://developers.google.com/youtube/v3/code_samples/javascript#my_uploads The ...
1
vote
1answer
183 views

Youtube Javascript API Embed has 2 title bars after video ends

I am having a problem with the JavaScript Embed API for youtube. After a video has finished playing, there are two title bars at the top. When playing, or when loaded, there is only 1 visible. I ...
0
votes
1answer
148 views

Embed youtube video with last frame

When playing embedded youtube videos, I don't want to display a thumbnail when completed. Instead I'd like to end with last frame. Is this possible? Either I can pause on the last frame or maybe ...
0
votes
0answers
157 views

jQuery YouTube TubePlayer Plugin-Play video inside my div

I am using jQuery YouTube TubePlayer Plugin to play video from youtube. I am able to play the YouTube video. But the plugin generates an iframe seperatly and plays the video inside it. But I need the ...
0
votes
1answer
170 views

get Youtube video description on click (html.push)

I'm working with the youtube api (2.0) to pull the 9 most viewed videos from a specific channel. I've got a video player and a list of thumbnails with title + thumbnail image + viewcount + ...
1
vote
1answer
88 views

Triggering an event when a new video starts while playing a YouTube playlist

I have a YouTube playlist; everything is working fine with that. Here's the code: <div id="player"></div> <script> var tag = document.createElement('script'); tag.src = ...
1
vote
2answers
487 views

YouTube player below “minimum” size

The YouTube API docs define the minimum size of an embedded player t to be 200px by 200px (link). To allow room for critical player functionality, players must be at least 200px by 200px. My ...
0
votes
1answer
127 views

get Title from video with youtube api v3 with javascript

I'm trying to understand how the new data api from google works, more specifically the youtube (v3) one, but haven't been able to follow any of the google documentation successfully. If anybody could ...
0
votes
1answer
46 views

Load multiple videos without playing

I'm building a video player where each scene is filmed from multiple angles. All videos are hosted on YouTube. I'd like to allow the user to be able to switch between angles seamlessly during ...
0
votes
0answers
35 views

getPlaylistItems function in youtube analytics API sample application doesn't work

I tried the code from https://developers.google.com/youtube/analytics/v1/sample-application, and use my own youtube account. When I ran it, after logged in with OAuth, it displayed the message that ...
0
votes
1answer
550 views

YouTube API Callback in IE7 and IE8

I'm having difficult getting the API to work in IE7 and IE8. Need simple pause / stop detection. Even this demo page has IE8 errors and the callback events fail: ...
1
vote
1answer
81 views

Prevent embedded YouTube player from plating onclick

When you embed a YouTube video in a page, there is a big play button in the middle of it which plays the video when clicked. For example: Is there a way that I can capture this click event before ...
0
votes
1answer
87 views

Changing Youtube Player Screen Size According to Browser's Window Size

If i use code below to get browser screen size there will be border and scroll bars. I want it to exactly get fitted to window no matter i open toolbars etc. I don't want border spaces and scroll ...
0
votes
3answers
78 views

On a web page with an embedded youtube player. How do I show an image above a full screen video?

I have a web page with an embedded youtube player. I need to show an image on top of a full screen playing video (flash). I have tried using z-index but it does not seem to go over the full screened ...
0
votes
1answer
934 views

Youtube iframe player JS API with jQuery - player object has no method 'getPlayerState'

I've got following code, that is suppose to pause Slidedeck's autoscroll whenever there is a mouseover event. For mouseout event, the autoscroll should resume working unless the youtobe video in the ...
3
votes
0answers
187 views

Youtube iframe API - Android fullscreen

I'm using the YouTube iframe api to embed a video. When playing the video on an iPhone, the video automatically switches to full screen mode. I was wondering if it's possible to force the same ...
0
votes
2answers
102 views

strange script error with firefox alone

If you open this site in chrome, it loads and runs ok but I tried loading it in firefox 19.0.2 and I keep getting a Script error asking me if I want to continue or stop. After doing some searching ...
0
votes
1answer
53 views

How can I present information on top of a full screened youtube video embedded on my webpage?

I am developing a web application where I have a youtube video player embedded in one of my web pages. I am trying to present extra information on top of the playing video (on full screen). By extra ...
1
vote
0answers
77 views

Youtube JS API v2 doesn't pause/play on the first click

I am allowing my users to add their own YouTube video to their profile. As part of the process, I am allowing the users to watch\pause the video with from a button that is located outside of the ...
1
vote
1answer
70 views

How to load/pause/resume youtube video in Cocoa app?

To load a youtube video is very simple. I use webView; NSURL*url=[NSURL URLWithString:kVideoLink]; NSURLRequest*request=[NSURLRequest requestWithURL:url]; [[self.webview mainFrame] ...
0
votes
3answers
63 views

Displaying iframe with javascript/jquery

I have this iframe: <iframe width="0" height="0" src="http://www.youtube.com/embed/Nc9xq-TVyHI?autoplay=1&start=110&end=119" frameborder="0" ></iframe></body></html>'; ...
0
votes
2answers
60 views

Youtube - Check When Video Is Loaded

I am using AJAX to dynamically change the video ID of my Youtube video. My AJAX call is nearly instant, but I've noticed that there is a delay when firing my request at Youtube to get the content for ...
0
votes
1answer
1k views

Twitter bootstrap carousel youtube video auto start

I have created a Twitter Bootstrap carousel to display pictures and text. So far this goes great. But I would like to add YouTube videos to the slides, I would like the videos to automatically start ...
-2
votes
1answer
69 views

Take control of existing YouTube player [closed]

I have an embedded YouTube player on my page (iframe). How can i take control of it? i.e. how can i get JavaScript API object for existing player? I need to pause it programmatically.
0
votes
0answers
107 views

Get batch related videos with YouTube JavaScript API v2.0

I've got the following two bits of JavaScript which I am hoping to optimize into one (or, at least, fewer) requests: function getRelatedVideoInformation(videoId, callback) { // Do an async ...
0
votes
1answer
55 views

Chrome specific flash repaint youtube video api

I am using the youtube api to create a flash video inside of a twitter bootstrap modal. It works fine in all browsers except in chrome. After closing the modal and hovering over buttons or images ...
0
votes
1answer
482 views

Why isn't the YouTube iframe player calling onYouTubePlayerReady when it's loaded?

I want to load a YouTube video, then mute, play, pause, and unmute it immediately. In doing this, I hope to present the user with a video that doesn't have a big play button on it, and does have the ...
0
votes
1answer
99 views

how to expand a youtube thumbnail on load using javascript

i got a solution for my question from how to get rid of youtube videos getting repeated even though different embedded code is given? link. i have a small requirement which is i have to resize my ...
0
votes
1answer
133 views

how to get rid of youtube videos getting repeated even though different embedded code is given?

I am developing a mobile webpage and I have to import two youtube videos on it. The video has to expand and start playing when I click on that video. The video has been attained using javascript and ...
0
votes
1answer
147 views

Javascript doesn't work on ajax post

I'm using Youtube Iframe API and using their script the player loads fine. But when I do an ajax call to the php file containing javascript code to run the player, it doesn't execute. function ...
1
vote
0answers
109 views

Receive response when using PostMessage for Youtube Iframe

I am building a chrome extension that plays a youtube video in the background page with controls for it in an injected content script. I can use play/pause quite effectively using this code: ...
1
vote
0answers
43 views

I want to upload a video from my web page to youtube by using javascript youtube API

I want to upload a video from my web page to youtube by using javascript youtube API but there is coming "User authentication required", error 401. Can anyone help me with some demo example in ...

1 2 3
15 30 50 per page