Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embedding Video #176

Closed
khoi342 opened this issue Feb 11, 2014 · 4 comments
Closed

Embedding Video #176

khoi342 opened this issue Feb 11, 2014 · 4 comments

Comments

@khoi342
Copy link

khoi342 commented Feb 11, 2014

For streams, I use this url: http://www.twitch.tv/widgets/live_embed_player.swf?channel={CHANNEL} , and it works.

So I try to do this for Videos: http://www.twitch.tv/widgets/archive_embed_player?channel={CHANNEL}&chapter_id={CHAPTER_ID} but it doesn't work.

And where can I get CHAPTER_ID?

Thanks a lot.

@bashtech
Copy link
Contributor

The chapter ID is the number in the highlight URL. (Highlights will have a \c\ in the URL)

For example: http://www.twitch.tv/george/c/3043797 the chapter_id would be 3043797.

For past broadcasts (/b/ in the url) you need to use archive_id instead.

@khoi342
Copy link
Author

khoi342 commented Feb 12, 2014

Thank you. It works.

I also have a question about fullscreen. I add the parameter "allowFullScreen=true" to stream url and I have http://www.twitch.tv/widgets/live_embed_player.swf?channel={CHANNEL}&allowFullScreen=true
But I cant still use fullscreen mode.

@bashtech
Copy link
Contributor

That might only work as a param on an object.

<param name="allowFullScreen" value="true" />

On Tue, Feb 11, 2014 at 10:35 PM, khoi342 notifications@github.com wrote:

Thank you. It works.

I also have a question about fullscreen. I add the parameter
"allowFullScreen=true" to stream url and I have
http://www.twitch.tv/widgets/live_embed_player.swf?channel={CHANNEL}&allowFullScreen=true
But I cant still use fullscreen mode.


Reply to this email directly or view it on GitHubhttps://github.com//issues/176#issuecomment-34835821
.

@sibbo7
Copy link

sibbo7 commented Mar 5, 2014

Hi :)

What is the Archive id you have to use? I want to show the Past Broadcasts on my Website

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants