Code Monkey home page Code Monkey logo

Comments (4)

nosenseproduction avatar nosenseproduction commented on August 15, 2024

This is the CSS

/*

  • YouTube TV
    */

/*

  • Base Canvas
    */
    .ytv-canvas{
    display: block;
    background: #282828;
    overflow: hidden;
    font-family: arial, sans-serif;
    }
    .ytv-canvas ::-webkit-scrollbar{
    border-left: 1px solid #000;
    width: 10px;
    }
    .ytv-canvas ::-webkit-scrollbar-thumb{
    background: rgba(255,255,255,0.1);
    }

/*

  • Video
    */
    .ytv-video{
    position: absolute;
    top: 0;
    right: 300px;
    bottom: 0;
    left: 0;
    height: 100%;
    }
    .ytv-video iframe{
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    display: block;
    }

/*

  • List
    */
    .ytv-list{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 300px;
    }
    .ytv-list-inner{
    overflow: auto;
    position: absolute;
    top: 52px;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-overflow-scrolling: touch;
    }
    .ytv-list ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
    }
    .ytv-list .ytv-active a{
    border-left: 2px solid #fff;
    background: rgba(255,255,255,0.05);;
    }
    .ytv-list a{
    display: block;
    text-decoration: none;
    font-size: 11px;
    color: #FEFEFE;
    padding: 10px;
    padding-left: 8px;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.5);
    border-left: 2px solid transparent;
    }
    .ytv-list a b{
    max-height: 45px;
    overflow: hidden;
    display: block;
    text-overflow: ellipsis;
    }
    .ytv-list li:first-child a{ border-top: none; }
    .ytv-list li:last-child a{ border-bottom: none; }
    .ytv-list a:hover,
    .ytv-list-header .ytv-playlists a:hover{ background:
    rgba(255,255,255,0.05); }
    .ytv-list a:active,
    .ytv-list-header .ytv-playlists a:active{ background: rgba(0,0,0,0.05); }
    .ytv-list .ytv-content{ padding-left: 125px; }
    .ytv-list .ytv-thumb-stroke{
    position: absolute;
    top: 1px;
    left: 1px;
    bottom: 1px;
    right: 1px;
    z-index: 2;
    outline: 1px solid rgba(255,255,255,0.1);
    }
    .ytv-list .ytv-thumb{
    float: left;
    position: relative;
    outline: 1px solid rgba(0,0,0,0.5);
    }
    .ytv-list .ytv-thumb img{
    width: 120px;
    display: block;
    }
    .ytv-list .ytv-thumb span{
    position: absolute;
    bottom: 5px;
    right: 5px;
    color: #eee;
    background: rgba(0,0,0,0.7);
    font-size: 11px;
    font-weight: bold;
    padding: 0px 4px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    }
    .ytv-views{
    display: block;
    margin-top: 5px;
    font-size: 10px;
    font-weight: normal;
    opacity: 0.3;
    }

.ytv-list-header{
height: 52px;
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.ytv-list-header a{
background: rgba(255,255,255,0.05);
position: relative;
z-index: 10;
}
.ytv-list-header img,
.ytv-list .ytv-playlists .ytv-thumb img{
width: 30px;
vertical-align: middle;
}
.ytv-list-header span{
padding-left: 10px;
font-size: 12px;
font-weight: bold;
}

/*

  • Playlists
    */
    .ytv-playlists{
    z-index: 9;
    position: absolute;
    background: #282828;
    top:52px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    display: none;
    }
    .ytv-playlists img,
    .ytv-list-header img{
    float: left;
    }
    .ytv-playlists a span,
    .ytv-list-header a span{
    white-space: nowrap;
    padding-left: 10px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    }
    .ytv-list-header > a span{
    line-height: 30px;
    }
    .ytv-list-header .ytv-playlists a{
    background: none;
    }
    .ytv-playlist-open .ytv-playlists{
    display: block;
    }

/*

  • Modifiers
    */
    .ytv-relative{
    position: relative;
    width: 100%;
    height: 100%;
    }
    .ytv-full{
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    }
    .ytv-arrow {
    height: 10px;
    width: 0;
    position: relative;
    top: 10px;
    right: 5px;
    border: 10px solid transparent;
    float: right;
    border-top-color: rgba(0,0,0,0.4);
    display: none;
    }
    .ytv-has-playlists .ytv-arrow{
    display: inline-block;
    }
    .ytv-playlist-open .ytv-arrow{
    border-color: transparent;
    border-bottom-color: rgba(0,0,0,0.4);
    top: -10px;
    }

.ytv-list-header a:after,
.ytv-clear:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}

2015-02-16 18:30 GMT+02:00 snowliondev [email protected]:

Try entering the user NKTIKBU

Clicking the profile name just opens the channel page in a new tab rather
than the playlists.


Reply to this email directly or view it on GitHub
#39.

Best Regards, Vasil Enev

from youtube-tv.

snowliondev avatar snowliondev commented on August 15, 2024

Sorry that does not help me. I get this error in the console log...

 Uncaught TypeError: Cannot read property '1' of undefined ytv.js:204 
prepare.playlists ytv.js:104 
utils.ajax.get.handle.onreadystatechange

from youtube-tv.

snowliondev avatar snowliondev commented on August 15, 2024

Found the issue. I had a few playlists that were empty on that channel. I deleted them and it worked as normal.

from youtube-tv.

nosenseproduction avatar nosenseproduction commented on August 15, 2024

Kind regards,

Vasil Enev
M: (359) 886 227 550
W: www.nosenseproduction.com

from youtube-tv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.