1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

please take a look

Discussion in 'Blogging' started by CeaseFireBlack, Oct 2, 2015.

  1. CeaseFireBlack

    CeaseFireBlack Regular Member

    Joined:
    Jun 10, 2015
    Messages:
    425
    Likes Received:
    154
    i'm making a summary of an event today and the replays exists on twitch.tv, well it's like the youtube stream if you copy past link you'll get this result https://gyazo.com/582842cf5103902d55264366bdbefbab , i copy past the link but it doesn't turn on like on the screenshot, what do i do to get same result on my website (where visitor could watch the replays of twitch.tv on my website)
     
  2. CeaseFireBlack

    CeaseFireBlack Regular Member

    Joined:
    Jun 10, 2015
    Messages:
    425
    Likes Received:
    154
  3. Zwielicht

    Zwielicht Moderator Staff Member Moderator Jr. VIP

    Joined:
    Aug 31, 2013
    Messages:
    7,144
    Likes Received:
    12,624
    Gender:
    Male
    Occupation:
    Reaper
    Location:
    Riverside, California
    Home Page:
    I'm not familiar with Twitch, but there's nothing in the code that mentions width or height? Anything like this?
    Code:
    var videoWidth = $('[video element selector]').width();
    
    
    $('[outer box selector]').heigth(videoWidth * (9/16));
    
    Or this?
    Code:
    <input value="">
    <iframe src="http://www.twitch.tv/gsl/embed" width="300" height="300"></iframe>
    
    or what about this?
    Code:
    div align="left">
        <object type="application/x-shockwave-flash" height="500" width="900"     id="live_embed_player_flash" data="http://www.twitch.tv/widgets/live_embed_player.swf?channel=clodbegamingnetwork" bgcolor="#000000">
            <param name="allowFullScreen" value="true" />
            <param name="allowScriptAccess" value="always" />
            <param name="allowNetworking" value="all" />
            <param name="movie" value="http://www.twitch.tv/widgets/live_embed_player.swf" />
            <param name="flashvars" value="hostname=www.twitch.tv&channel=clodbegamingnetwork&auto_play=true&start_volume=25" />
        </object>
    
    
    <div align="right">    
        <iframe frameborder="0" scrolling="no" src="http://twitch.tv/clodbegamingnetwork/chat?popout=" height="500" width="350">
        </iframe>
    </div>
    
    If you do find something that mentions width and height in the code, you can adjust this by typing in a new value for width and height.
     
    • Thanks Thanks x 1
    Last edited: Oct 3, 2015