GithubHelp home page GithubHelp logo

jw-support-repro's Introduction

JW Player Support Team Reproduction Page

Table of Contents

Getting Started
Features
Page Setup
Formatting
Issues? Feature Requests?
Acknowledgements

Getting Started

If you want to download the source code, you can do so from this GitHub repository by clicking on the Download ZIP button above.

However, if you use TextExpander, I would recommend copying and pasting the contents of demo.html into a new snippet. This way you can easily create a new reproduction page by expanding the snippet inside of a new document in your text editor of choice.

There is no need to download any of the JavaScript or CSS referenced by this reproduction page as they are all linked to using absolute URLs.

Features

The page has a 640 x 360 player embedded on it. Also on the page, below the player, are the following tabs:

  • Browser & Reproduction (hideable, if not for an escalation)
  • Description (hideable, if for an escalation)
  • Player Details - shows the player version, rendering mode, media format, and playlist item
  • Player Log - This tab shows the output of the .on('all') API event.
  • Code - This tab takes the code found in within <div id='embedCode'> and reformats it as code with syntax highlighting and displays it within this tab.

Page Setup

By default, the page is setup in a way that is well-suited for escalations and bug reports.

If you would like to change this behavior to be more of a demo page, all you would need to do is comment and uncomment some lines of the code.

  • Escalations/Bug Reports

    • Lines That Need to be Uncommented
      • 29
      • 43 thru 58
    • Lines That Need to be Commented
      • 30
      • 63 thru 65
  • Demo Pages

    • Lines That Need to be Uncommented
      • 30
      • 63 thru 65
    • Lines That Need to be Commented
      • 29
      • 43 thru 58

To easily comment and uncomment code, most text editors support a keyboard shortcut. Just select whatever code you would like to be affected and press CMD+/ (forward-slash) on Mac or CTRL+/ on Windows.

Formatting

Alert
<div class='uk-alert'>Text of the Alert</div>

Button
<button class='uk-button' type=“button'></button>

Inline Code
<code>playerInstance.play();</code>

Code Section

<pre>
  <code class='lang-js'>
    playerInstance.setup({  
      file: 'whatever.mp4'
    });
  </code>
</pre>

The class attribute of the <code> tag can be set to a different scripting language. The example above is set to highlight code syntax for JavaScript. If you would want to change it to HTML or CSS, you can change the class name to lang-html or lang-css, respectively.

Issues? Feature Requests?

Have an issue or a feature request? Create a new issue on this project's GitHub repository.

Acknowledgements

  • Highlight.js, for syntax highlighting - © 2016 Ivan Sagalaev
  • UIkit, CSS framework - © 2016 YOOtheme

jw-support-repro's People

Contributors

waxidiotic avatar heidiw avatar

Watchers

James Cloos avatar  avatar

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.