Giter VIP home page Giter VIP logo

brightcove-wordpress's Introduction

Simple Brightcove Plugin for Wordpress

This is intended as a simple way to add a player to Wordpress. You just need to get the URL for the video from the Video Cloud studio.

Installation

Use Wordpress's plugin directory.

  • In Wordpress admin, install a new plugin.
  • Search for "Simple Brightcove Player Embed"
  • Install and activate

Direct link: http://wordpress.org/plugins/simple-brightcove-player-embed/

Usage

First get a link to the video and player you want to use from the Video Cloud media module.

  • Select a video
  • In the Quick video publish box on the right, select a player
  • Under Copy publishing code, select URL
  • Copy the URL

In Wordpress's post editor, add the the URL surrounded by [bc] and [/bc], for example:

[bc]http://bcove.me/f8b43rfg[/bc]

It doesn't have to be a bcove.me URL.) You can also use the URL of any page that has a Video Cloud player in its HTML, e.g.

[bc]http://www.brightcove.com[/bc]

The player publishing code found at the URL is used as-is. You can override the player width and/or height like this:

[bc width="240" height="135"]http://bcove.me/f8b43rfg[/bc]

Or override autostart like this:

[bc autoStart="false"]http://bcove.me/f8b43rfg[/bc]

Notes

This will use the HTTP or HTTPS version of the publsihing code as appropriate.

This might not trap every error situation.

It doesn't do anything fancy like listing the videos in your account. Maybe that will come later.

Report bugs here.

Changes

0.4

  • Submitted to Wordpress Plugin Directory, so dist folder removed

0.3

  • Added option to override autostart

0.2

  • Added URL validation
  • Added ability to override height/width

brightcove-wordpress's People

Contributors

foobar2016 avatar bcbclifford avatar mister-ben avatar mordant23 avatar

Watchers

 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.