youtube.googleapis.com — how to embed video from google drive on website using youtube playerHow do I get a YouTube video thumbnail from the YouTube API?How do I get the reference to an existing YouTube player?Embed a YouTube video to JFrame?Youtube api player for android copyright issueYoutube iframe embed thumbnail squashed in IE with player size 640x360 or larger“object is not a function” in YouTube iframe player APIYoutube API create playlist and embedHow do I embed a 'YouTube Gaming' video with the IFrame API?How to embed videos from Google drive to webpage?AngularJS Youtube player embed very big playlist
Are valid inequalities worth the effort given modern solver preprocessing options?
Why do dragons like shiny stuff?
Variable doesn't parse as string
How do I know when and if a character requires a backstory?
What is the right Bonferroni adjustment?
Did Logical Positivism fail because it simply denied human emotion?
How to design an effective polearm-bow hybrid?
How do the surviving Asgardians get to Earth?
Upper Bound for a Sum
Is there a booking app or site that lets you specify your gender for shared dormitories?
Custom Metadata SOQL WHERE clause not working
What is the reason behind water not falling from a bucket at the top of loop?
Ancients don't give a full level?
Would the shaking of an earthquake be visible to somebody in a low-flying aircraft?
GFCI tripping on overload?
Pronouns when writing from the point of view of a robot
Formal mathematical definition of renormalization group flow
Repeated! Factorials!
Why do my fried eggs start browning very fast?
What are the limitations of the Hendersson-Hasselbalch equation?
Would this winged human/angel be able to fly?
How do people drown while wearing a life jacket?
Make lens aperture in Tikz
Can the Cauchy product of divergent series with itself be convergent?
youtube.googleapis.com — how to embed video from google drive on website using youtube player
How do I get a YouTube video thumbnail from the YouTube API?How do I get the reference to an existing YouTube player?Embed a YouTube video to JFrame?Youtube api player for android copyright issueYoutube iframe embed thumbnail squashed in IE with player size 640x360 or larger“object is not a function” in YouTube iframe player APIYoutube API create playlist and embedHow do I embed a 'YouTube Gaming' video with the IFrame API?How to embed videos from Google drive to webpage?AngularJS Youtube player embed very big playlist
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
inspecting the elementof a playing video on google drive gave me this source for the iframe (after decoding it):
"https://youtube.googleapis.com/embed/?status=ok&hl=en&allow_embed=0&ps=docs&partnerid=30&autoplay=0&docid=1aUJWCNwftLtuXZ2QRMVMIh6cNAlv8VjF&abd=0&public=true&el=preview&title=5751-09-13b Dollars.mp4&BASE_URL=https://drive.google.com/&iurl=https://drive.google.com/vt?authuser=0&id=1aUJWCNwftLtuXZ2QRMVMIh6cNAlv8VjF&s=AMedNnoAAAAAXJrugYRz2xBf8REpe1dIkuYFVoDfvRKi&cc3_module=1&reportabuseurl=https://drive.google.com/abuse?authuser=0&id=1aUJWCNwftLtuXZ2QRMVMIh6cNAlv8VjF&token=1&plid=V0QVj6yxCJMmgQ×tamp=1553650273817&length_seconds=176&BASE_YT_URL=https://drive.google.com/&cc_load_policy=1&authuser=0&wmode=window&override_hl=1&enablecastapi=0&pipable=1&enablepostapi=1&postid=drive-viewer-video-player-object-9&origin=https://drive.google.com"
When I go to the link, itshows the thumbnail ofthe video, but when playing it, it says "Invalid parameters".
Looking at the GET variables in the link, it seems like, first of all, the origin and baseuri maybe prevent it from being played in another website, so IDK if that's possible to change, and also it seems like the variable:
token=1&plid=V0QVj6yxCJMmgQ&
seems to refer to some kind of API token...
Also take a look at the authuser and "s" parameters:
?authuser=0
&id=1aUJWCNwftLtuXZ2QRMVMIh6cNAlv8VjF
&s=AMedNnoAAAAAXJrugYRz2xBf8REpe1dIkuYFVoDfvRKi
I'm not sure if the id and s also refer to different kinds of API tokens that can be generated somewhere...?
SO basically, it doesn't work, so is there anything I Can plug in with server side (or client) side code somehow to embed any video from google drive (thats public) on a website using the youtube player?
BTW: I'm not interested in the GOogle Drive video embed link, I would like to to it with the youtube API if possible
youtube-api google-apis-explorer
add a comment |
inspecting the elementof a playing video on google drive gave me this source for the iframe (after decoding it):
"https://youtube.googleapis.com/embed/?status=ok&hl=en&allow_embed=0&ps=docs&partnerid=30&autoplay=0&docid=1aUJWCNwftLtuXZ2QRMVMIh6cNAlv8VjF&abd=0&public=true&el=preview&title=5751-09-13b Dollars.mp4&BASE_URL=https://drive.google.com/&iurl=https://drive.google.com/vt?authuser=0&id=1aUJWCNwftLtuXZ2QRMVMIh6cNAlv8VjF&s=AMedNnoAAAAAXJrugYRz2xBf8REpe1dIkuYFVoDfvRKi&cc3_module=1&reportabuseurl=https://drive.google.com/abuse?authuser=0&id=1aUJWCNwftLtuXZ2QRMVMIh6cNAlv8VjF&token=1&plid=V0QVj6yxCJMmgQ×tamp=1553650273817&length_seconds=176&BASE_YT_URL=https://drive.google.com/&cc_load_policy=1&authuser=0&wmode=window&override_hl=1&enablecastapi=0&pipable=1&enablepostapi=1&postid=drive-viewer-video-player-object-9&origin=https://drive.google.com"
When I go to the link, itshows the thumbnail ofthe video, but when playing it, it says "Invalid parameters".
Looking at the GET variables in the link, it seems like, first of all, the origin and baseuri maybe prevent it from being played in another website, so IDK if that's possible to change, and also it seems like the variable:
token=1&plid=V0QVj6yxCJMmgQ&
seems to refer to some kind of API token...
Also take a look at the authuser and "s" parameters:
?authuser=0
&id=1aUJWCNwftLtuXZ2QRMVMIh6cNAlv8VjF
&s=AMedNnoAAAAAXJrugYRz2xBf8REpe1dIkuYFVoDfvRKi
I'm not sure if the id and s also refer to different kinds of API tokens that can be generated somewhere...?
SO basically, it doesn't work, so is there anything I Can plug in with server side (or client) side code somehow to embed any video from google drive (thats public) on a website using the youtube player?
BTW: I'm not interested in the GOogle Drive video embed link, I would like to to it with the youtube API if possible
youtube-api google-apis-explorer
add a comment |
inspecting the elementof a playing video on google drive gave me this source for the iframe (after decoding it):
"https://youtube.googleapis.com/embed/?status=ok&hl=en&allow_embed=0&ps=docs&partnerid=30&autoplay=0&docid=1aUJWCNwftLtuXZ2QRMVMIh6cNAlv8VjF&abd=0&public=true&el=preview&title=5751-09-13b Dollars.mp4&BASE_URL=https://drive.google.com/&iurl=https://drive.google.com/vt?authuser=0&id=1aUJWCNwftLtuXZ2QRMVMIh6cNAlv8VjF&s=AMedNnoAAAAAXJrugYRz2xBf8REpe1dIkuYFVoDfvRKi&cc3_module=1&reportabuseurl=https://drive.google.com/abuse?authuser=0&id=1aUJWCNwftLtuXZ2QRMVMIh6cNAlv8VjF&token=1&plid=V0QVj6yxCJMmgQ×tamp=1553650273817&length_seconds=176&BASE_YT_URL=https://drive.google.com/&cc_load_policy=1&authuser=0&wmode=window&override_hl=1&enablecastapi=0&pipable=1&enablepostapi=1&postid=drive-viewer-video-player-object-9&origin=https://drive.google.com"
When I go to the link, itshows the thumbnail ofthe video, but when playing it, it says "Invalid parameters".
Looking at the GET variables in the link, it seems like, first of all, the origin and baseuri maybe prevent it from being played in another website, so IDK if that's possible to change, and also it seems like the variable:
token=1&plid=V0QVj6yxCJMmgQ&
seems to refer to some kind of API token...
Also take a look at the authuser and "s" parameters:
?authuser=0
&id=1aUJWCNwftLtuXZ2QRMVMIh6cNAlv8VjF
&s=AMedNnoAAAAAXJrugYRz2xBf8REpe1dIkuYFVoDfvRKi
I'm not sure if the id and s also refer to different kinds of API tokens that can be generated somewhere...?
SO basically, it doesn't work, so is there anything I Can plug in with server side (or client) side code somehow to embed any video from google drive (thats public) on a website using the youtube player?
BTW: I'm not interested in the GOogle Drive video embed link, I would like to to it with the youtube API if possible
youtube-api google-apis-explorer
inspecting the elementof a playing video on google drive gave me this source for the iframe (after decoding it):
"https://youtube.googleapis.com/embed/?status=ok&hl=en&allow_embed=0&ps=docs&partnerid=30&autoplay=0&docid=1aUJWCNwftLtuXZ2QRMVMIh6cNAlv8VjF&abd=0&public=true&el=preview&title=5751-09-13b Dollars.mp4&BASE_URL=https://drive.google.com/&iurl=https://drive.google.com/vt?authuser=0&id=1aUJWCNwftLtuXZ2QRMVMIh6cNAlv8VjF&s=AMedNnoAAAAAXJrugYRz2xBf8REpe1dIkuYFVoDfvRKi&cc3_module=1&reportabuseurl=https://drive.google.com/abuse?authuser=0&id=1aUJWCNwftLtuXZ2QRMVMIh6cNAlv8VjF&token=1&plid=V0QVj6yxCJMmgQ×tamp=1553650273817&length_seconds=176&BASE_YT_URL=https://drive.google.com/&cc_load_policy=1&authuser=0&wmode=window&override_hl=1&enablecastapi=0&pipable=1&enablepostapi=1&postid=drive-viewer-video-player-object-9&origin=https://drive.google.com"
When I go to the link, itshows the thumbnail ofthe video, but when playing it, it says "Invalid parameters".
Looking at the GET variables in the link, it seems like, first of all, the origin and baseuri maybe prevent it from being played in another website, so IDK if that's possible to change, and also it seems like the variable:
token=1&plid=V0QVj6yxCJMmgQ&
seems to refer to some kind of API token...
Also take a look at the authuser and "s" parameters:
?authuser=0
&id=1aUJWCNwftLtuXZ2QRMVMIh6cNAlv8VjF
&s=AMedNnoAAAAAXJrugYRz2xBf8REpe1dIkuYFVoDfvRKi
I'm not sure if the id and s also refer to different kinds of API tokens that can be generated somewhere...?
SO basically, it doesn't work, so is there anything I Can plug in with server side (or client) side code somehow to embed any video from google drive (thats public) on a website using the youtube player?
BTW: I'm not interested in the GOogle Drive video embed link, I would like to to it with the youtube API if possible
youtube-api google-apis-explorer
youtube-api google-apis-explorer
asked Mar 27 at 2:45
bluejaykebluejayke
6202 gold badges7 silver badges22 bronze badges
6202 gold badges7 silver badges22 bronze badges
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55369037%2fyoutube-googleapis-com-how-to-embed-video-from-google-drive-on-website-using%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55369037%2fyoutube-googleapis-com-how-to-embed-video-from-google-drive-on-website-using%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown