Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow using vpaid-html5-client from a project that uses browserify #10

Merged
merged 1 commit into from
Nov 24, 2015
Merged

Allow using vpaid-html5-client from a project that uses browserify #10

merged 1 commit into from
Nov 24, 2015

Conversation

lizozom
Copy link
Contributor

@lizozom lizozom commented Nov 23, 2015

Currently the module can't be used from within another project that uses browserify, since you can't browserify a browserified module (See browserify/browserify#1151)

Adding the option below to package.json allows including the raw javascript, allowing the requiring module to handle the browserification.
To include the module with require you should

npm install vpaid-html5-client

and then include it like this:

var VPAIDHTML5Client = require('vpaid-html5-client/js/VPAIDHTML5Client.js');

…ses browserify, since you can't browserify a browserified module (See browserify/browserify#1151)

Adding the option below to package.json allows including the raw javascript, allowing the requiring module to handle the browserification.

To include the module with require you should

npm install vpaid-html5-client

and then include it like this:

var VPAIDHTML5Client = require('vpaid-html5-client/js/VPAIDHTML5Client.js');
Fetz added a commit that referenced this pull request Nov 24, 2015
Allow using vpaid-html5-client from a project that uses browserify
@Fetz Fetz merged commit 960da0e into MailOnline:master Nov 24, 2015
iq-dot pushed a commit to iq-dot/VPAIDHTML5Client that referenced this pull request Jul 28, 2017
realised how play pause was actually working in video.js and adjusted styling accordingly (i.e. using ::before rather than background-image)
speaker icon for volume bar styled
progress bar copied to emulate telegraph style
fullscreen button styled with telegraph styles, although not positioned correctly yet.
hiding unnecessary controls
styled volume slider with correct color and position (not sure how to completely emulate telegraph volume bar yet). Also added flex to position full screen button
added bottom border to player and removed multiple playback speed options from App.jsx
styling on time display done, replacing time remaining with current time / duration
time display growing with flex to push full screen button to right edge
volume controls always displaying
added condition to apply telegraph styles only if telegraph is client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants