.gitpod.yml
README.md
build.sh
contract
    Cargo.toml
    README.md
    compile.js
    src
        lib.rs
package.json
src
    App.css
    App.js
    App.test.js
    Noindex.html
    Noindex.js
    assets
        app.js
        css
            style.css
        external
            isotope
                isotope.packery.js
                isotope.pkgd.min.js
            jquery
                jquery.js
            player
                johndyer-mediaelement-89793bc
                    build
                        DO NOT CHANGE THESE FILES. USE -src- FOLDER.txt
                        bigplay.svg
                        controls.svg
                        jquery.js
                        lang
                            me-i18n-locale-cs.js
                            me-i18n-locale-de.js
                            me-i18n-locale-en.js
                            me-i18n-locale-es.js
                            me-i18n-locale-fr.js
                            me-i18n-locale-hu.js
                            me-i18n-locale-it.js
                            me-i18n-locale-ja.js
                            me-i18n-locale-ko.js
                            me-i18n-locale-nl.js
                            me-i18n-locale-pl.js
                            me-i18n-locale-pt-br.js
                            me-i18n-locale-pt.js
                            me-i18n-locale-ro.js
                            me-i18n-locale-ru.js
                            me-i18n-locale-sk.js
                            me-i18n-locale-zh-cn.js
                            me-i18n-locale-zh.js
                        mediaelement-and-player.js
                        mediaelement-and-player.min.js
                        mediaelement.js
                        mediaelement.min.js
                        mediaelementplayer.css
                        mediaelementplayer.js
                        mediaelementplayer.min.css
                        mediaelementplayer.min.js
                        mejs-skins.css
                    info
                        Gruntfile.js
                        README.md
                        TODO.md
                        api.md
                        bower.json
                        changelog.md
                        compile_swf.sh
                        demo
                            hls_streams.js
                            index.html
                            mediaelement-stream.html
                            mediaelement.html
                            mediaelementplayer-audio.html
                            mediaelementplayer-events.html
                            mediaelementplayer-frameaccurate.html
                            mediaelementplayer-hls.html
                            mediaelementplayer-inflash-autoresize.html
                            mediaelementplayer-markers.html
                            mediaelementplayer-postroll-content.html
                            mediaelementplayer-postroll.html
                            mediaelementplayer-responsive.html
                            mediaelementplayer-skins.html
                            mediaelementplayer-sourcechooser.html
                            mediaelementplayer-src.html
                            mediaelementplayer-stretching.html
                            mediaelementplayer-track.html
                            mediaelementplayer-translation.html
                            mediaelementplayer-youtube.html
                            mediaelementplayer.html
                            testforfiles.js
                        guidelines.md
                        installation.md
                        package.json
                        player.js
                        src
                            css
                                bigplay.svg
                                controls.svg
                                mediaelementplayer.css
                                mejs-skins.css
                            js
                                jeesh-extras.js
                                jeesh.js
                                me-featuredetection.js
                                me-header.js
                                me-i18n-locale-cs.js
                                me-i18n-locale-de.js
                                me-i18n-locale-en.js
                                me-i18n-locale-es.js
                                me-i18n-locale-fr.js
                                me-i18n-locale-hu.js
                                me-i18n-locale-it.js
                                me-i18n-locale-ja.js
                                me-i18n-locale-ko.js
                                me-i18n-locale-nl.js
                                me-i18n-locale-pl.js
                                me-i18n-locale-pt-br.js
                                me-i18n-locale-pt.js
                                me-i18n-locale-ro.js
                                me-i18n-locale-ru.js
                                me-i18n-locale-sk.js
                                me-i18n-locale-zh-cn.js
                                me-i18n-locale-zh.js
                                me-i18n.js
                                me-mediaelements.js
                                me-namespace.js
                                me-plugindetector.js
                                me-shim.js
                                me-utility.js
                                mep-feature-ads-vast.js
                                mep-feature-ads.js
                                mep-feature-backlight.js
                                mep-feature-contextmenu.js
                                mep-feature-endedhtml.js
                                mep-feature-fullscreen.js
                                mep-feature-googleanalytics.js
                                mep-feature-jumpforward.js
                                mep-feature-loop.js
                                mep-feature-markers.js
                                mep-feature-playlist.js
                                mep-feature-playpause.js
                                mep-feature-postroll.js
                                mep-feature-progress.js
                                mep-feature-skipback.js
                                mep-feature-sourcechooser.js
                                mep-feature-speed.js
                                mep-feature-stop.js
                                mep-feature-time.js
                                mep-feature-tracks.js
                                mep-feature-universalgoogleanalytics.js
                                mep-feature-visualcontrols.js
                                mep-feature-volume.js
                                mep-header.js
                                mep-library.js
                                mep-player.js
                            silverlight
                                App.xaml.cs
                                MainPage.xaml.cs
                                Properties
                                    AppManifest.xml
                                    AssemblyInfo.cs
                                SilverlightMediaElement.sln
                        test
                            Spec-CreateRemove.js
                            Spec-Player.js
                            Spec-utility.js
                            SpecRunner-CreateRemove.html
                            SpecRunner-Player.html
                            SpecRunner-utility.html
                            lib
                                jasmine-1.3.1
                                    jasmine-html.js
                                    jasmine.css
                                    jasmine.js
                            test-youtube.html
                            test.html
                        usage.md
            slick
                config.rb
                fonts
                    slick.svg
                slick-theme.css
                slick.css
                slick.js
                slick.min.css
                slick.min.js
        fonts
            eiefy_icons
                Bug_fix.svg
                Content_writing.svg
                Creative_Testing.svg
                Drag_drop.svg
                Email.svg
                Hint.svg
                Login.svg
                Mega_menu.svg
                Mobile_app.svg
                PSD.svg
                Responsive.svg
                Retina_ready.svg
                SEO.svg
                Segment.svg
                Signup.svg
                Smooth_scroll.svg
                Tutorial.svg
                User_base.svg
                Video_edit.svg
                Wordpress_dev.svg
                customizable_layout.svg
                icon_design.svg
                icons.html
                logo.svg
                support.svg
                wordpress.svg
            font_awesome
                css
                    font-awesome.css
                fonts
                    fontawesome-webfont.svg
        logo-black.svg
        logo-white.svg
    components
        LoginForm
            LoginForm.css
        NewProjectForm
            NewProjectForm.css
        ProjectCard
            ProjectCard.css
        SignUpForm
            SignUpForm.css
        nav
            Nav.css
    config.js
    data.js
    index.html
    index.js
    main.test.js
    reportWebVitals.js
    robots.txt
    setupTests.js
    utils.js
    wallet
        login
            index.html
|

kickstart Smart Contract
==================

A [smart contract] written in [Rust] for an app initialized with [create-near-app]

Quick Start
===========

Before you compile this code, you will need to install Rust with [correct target]

Exploring The Code
==================

1. The main smart contract code lives in `src/lib.rs`. You can compile it with
   the `./compile` script.
2. Tests: You can run smart contract tests with the `./test` script. This runs
   standard Rust tests using [cargo] with a `--nocapture` flag so that you
   can see any debug info you print to the console.

  [smart contract]: https://docs.near.org/docs/develop/contracts/overview
  [Rust]: https://www.rust-lang.org/
  [create-near-app]: https://github.com/near/create-near-app
  [correct target]: https://github.com/near/near-sdk-rs#pre-requisites
  [cargo]: https://doc.rust-lang.org/book/ch01-03-hello-cargo.html
kickstart
==================

This app was initialized with [create-near-app]

Quick Start
===========

To run this project locally:

1. Prerequisites: Make sure you've installed [Node.js] ≥ 12
2. Install dependencies: `yarn install`
3. Run the local development server: `yarn dev` (see `package.json` for a
   full list of `scripts` you can run with `yarn`)

Now you'll have a local development environment backed by the NEAR TestNet!

Go ahead and play with the app and the code. As you make code changes, the app will automatically reload.

Exploring The Code
==================

1. The "backend" code lives in the `/contract` folder. See the README there for
   more info.
2. The frontend code lives in the `/src` folder. `/src/index.html` is a great
   place to start exploring. Note that it loads in `/src/index.js`, where you
   can learn how the frontend connects to the NEAR blockchain.
3. Tests: there are different kinds of tests for the frontend and the smart
   contract. See `contract/README` for info about how it's tested. The frontend
   code gets tested with [jest]. You can run both of these at once with `yarn
   run test`.

Deploy
======

Every smart contract in NEAR has its [own associated account][NEAR accounts]. When you run `yarn dev`, your smart contract gets deployed to the live NEAR TestNet with a throwaway account. When you're ready to make it permanent, here's how.

Step 0: Install near-cli (optional)
-------------------------------------

[near-cli] is a command line interface (CLI) for interacting with the NEAR blockchain. It was installed to the local `node_modules` folder when you ran `yarn install`, but for best ergonomics you may want to install it globally:

    yarn install --global near-cli

Or, if you'd rather use the locally-installed version, you can prefix all `near` commands with `npx`

Ensure that it's installed with `near --version` (or `npx near --version`)

Step 1: Create an account for the contract
------------------------------------------

Each account on NEAR can have at most one contract deployed to it. If you've already created an account such as `your-name.testnet`, you can deploy your contract to `kickstart.your-name.testnet`. Assuming you've already created an account on [NEAR Wallet], here's how to create `kickstart.your-name.testnet`:

1. Authorize NEAR CLI, following the commands it gives you:

      near login

2. Create a subaccount (replace `YOUR-NAME` below with your actual account name):

      near create-account kickstart.YOUR-NAME.testnet --masterAccount YOUR-NAME.testnet

Step 2: set contract name in code
---------------------------------

Modify the line in `src/config.js` that sets the account name of the contract. Set it to the account id you used above.

    const CONTRACT_NAME = process.env.CONTRACT_NAME || 'kickstart.YOUR-NAME.testnet'

Step 3: deploy!
---------------

One command:

    yarn deploy

As you can see in `package.json`, this does two things:

1. builds & deploys smart contract to NEAR TestNet
2. builds & deploys frontend code to GitHub using [gh-pages]. This will only work if the project already has a repository set up on GitHub. Feel free to modify the `deploy` script in `package.json` to deploy elsewhere.

Troubleshooting
===============

On Windows, if you're seeing an error containing `EPERM` it may be related to spaces in your path. Please see [this issue](https://github.com/zkat/npx/issues/209) for more details.

  [create-near-app]: https://github.com/near/create-near-app
  [Node.js]: https://nodejs.org/en/download/package-manager/
  [jest]: https://jestjs.io/
  [NEAR accounts]: https://docs.near.org/docs/concepts/account
  [NEAR Wallet]: https://wallet.testnet.near.org/
  [near-cli]: https://github.com/near/near-cli
  [gh-pages]: https://github.com/tschaub/gh-pages
# `MediaElement.js`: `<video>` and `<audio>` made easy. 

----------------------------------------------------------------------------
# **IMPORTANT REQUEST***

_We are asking the great community of GitHub to help us testing `3.x-dev`
branch in order to cover most of the issues before officially releasing the 
3.0 version._

_We've done some testing of this new version, but we could definitely use 
your help! If you find any bugs, please create an issue and we'll response
as soon as possible._

_Visit [this page](https://github.com/johndyer/mediaelement/tree/3.x-dev) to get the updated documentation and
download the repository and switch to `3.x-dev` branch to test._

_Thanks in advance, and we appreciate your help._

----------------------------------------------------------------------------

One file. Any browser. Same UI.

* Author: John Dyer [http://j.hn/](http://j.hn/)
* Website: [http://mediaelementjs.com/](http://mediaelementjs.com/)
* License: [MIT](http://johndyer.mit-license.org/)
* Meaning: Use everywhere, keep copyright, it'd be swell if you'd link back here.
* Thanks: my employer, [Dallas Theological Seminary](http://www.dts.edu/)
* Contributors: [all contributors](https://github.com/johndyer/mediaelement/graphs/contributors)

# Table of Contents

* [Introduction](#intro)
* [Browser and Device support](#browser-support)
* [Installation and Usage](#installation)
* [API and Configuration](#api)
* [Guidelines for Contributors](#guidelines)
* [Change Log](#changelog)
* [TODO list](#todo)

<a id="intro"></a>
## Introduction

_MediaElementPlayer: HTML5 `<video>` and `<audio>` player_

A complete HTML/CSS audio/video player built on top `MediaElement.js` and `jQuery`. Many great HTML5 players have a completely separate Flash UI in fallback mode, but MediaElementPlayer.js uses the same HTML/CSS for all players.

`MediaElement.js` is a set of custom Flash and Silverlight plugins that mimic the HTML5 MediaElement API for browsers that don't support HTML5 or don't support the media codecs you're using. 
Instead of using Flash as a _fallback_, Flash is used to make the browser seem HTML5 compliant and enable codecs like H.264 (via Flash) and even WMV (via Silverlight) on all browsers.

<a id="browser-support"></a>
## Browser and Device support

Format | Support
------ | -------
**mp4** | Please visit http://caniuse.com/#feat=mpeg4 for comprehensive information
**webm** | Please visit http://caniuse.com/#feat=webm for comprehensive information
**mp3** | Please visit http://caniuse.com/#feat=mp3 for comprehensive information
**m3u8** | Safari and iOS (native); all browsers that support **Flash** (version 10 or later)
**rtmp/flv** | All browsers that support **Flash** (version 10 or later)
**wmv/wma** | All browsers that support **Silverlight**
**YouTube** | All browsers since it uses `iframe` tag

<a id="installation"></a>
## Installation and Usage

The full documentation on how to install `MediaElement.js` is available at [Installation](installation.md).

A brief guide on how to create and use instances of `MediaElement` available at [Usage](usage.md).

<a id="api"></a>
## API and Configuration
   
`MediaElement.js` has many options that you can take advantage from. Visit [API and Configuration](api.md) for more details.

<a id="guidelines"></a>
## Guidelines for Contributors

If you want to contribute to improve this package, please read [Guidelines](guidelines.md).

<a id="changelog"></a>
## Change Log

Changes available at [Change Log](changelog.md)

<a id="todo"></a>
## TODO list

New features and pending bugs can be found at [TODO list](TODO.md).
