Giter Club home page Giter Club logo

tv.jquery's Introduction

tv.jquery

TV/HbbTV development supporting environment. jQuery integrated.

Collects basic device info, provides additional level for development (additional pseudo types for link tag media). opera-tv, webkit-tv, css3ui, loewe, philips, smartbox, technisat, smartbox, videoweb and to be extended.

Interface

Invokes head link[media=loewe|smartbox|other manufactirer|css3ui|opera-tv|webkit-tv] stylefiles automatically according to device info accessible.

jQuery.tv.isTv bool

jQuery.tv.isHbbtv bool

jQuery.tv.type string Device manufacturer/type

jQuery.tv.id string identifier/serial number, 'unknown' if no data can be fetched/generated.

jQuery.tvinfo(); TV info as single string (bult from jQuery.tv.* attributes)

Usage

  • Load jQuery
  • Load this plugin
  • Load rest scripts

CSS3 UI: Manufacter-specific style/fix: Browser-specific style/fix:

$(document).tvready(function(){ ... your code here ... }); $(document).bind('tvready', function(){ ... your code here ... });

TODO:

  • Check if embeddeded object nodes working without being added to document, as CSS3 UI test
  • provide back log of all ids (serial, deviceid, MAC, localStorage)
  • test invoking medias before document.ready
  • document keyup handle -- 'numeric' fields, that has automatic mapping characters to numbers as on remote control (delayed init) -- fix colored buttons code insertion in text controls (yellow operates as backspace)

tv.jquery's People

Contributors

kalessil avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

mplachta

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.