Skip to content


Subversion checkout URL

You can clone with
Download ZIP
tree: 7b263f39c8
Fetching contributors…

Cannot retrieve contributors at this time

47 lines (40 sloc) 1.74 kb
layout: default
title: Popcorn Constructor
<nav class="main">
<h1><a href="/popcorn-docs/index.html">API Reference</a></h1>
<li><a href="/popcorn-docs/getting-started">Getting Started</a></li>
<li><a class="selected" href="/popcorn-docs/popcorn-constructor">Popcorn Constructor</a></li>
<li><a href="/popcorn-docs/media-methods">Media Methods</a></li>
<li><a href="/popcorn-docs/media-properties">Media Properties</a></li>
<li><a href="/popcorn-docs/utility-methods">Utility Methods</a></li>
<li><a href="/popcorn-docs/events">Events</a></li>
<li><a href="/popcorn-docs/plugins">Plugins</a></li>
<li><a href="/popcorn-docs/players">Players</a></li>
<li><a href="/popcorn-docs/parsers">Parsers</a></li>
<li><a href="/popcorn-docs/modules">Modules</a></li>
<li><a href="/popcorn-docs/effects">Effects</a></li>
<div class="scrollable">
<section class="content">
<h1 id="plugins">Popcorn Constructor</h1>
<p>The Popcorn constructor allows the user to create Popcorn instances. An optional options object can be passed along to set properties for the new instance of Popcorn. The constructor can also be used to listen for DOMContentLoaded, executing a callback function when your page has finished loading.</p>
{% for post in site.categories.popcorn-constructor reversed %}
<li><a class="lower" href="#{{ post.title }}">{{ post.title }}</a></li>
{% endfor %}
{% for post in site.categories.popcorn-constructor reversed %}
<article id="{{ post.title }}">
{{ post.content }}
{% endfor %}
Jump to Line
Something went wrong with that request. Please try again.