Comments (6)
@bmcminn: Thanks for the idea, I never thought about stopping the video when the dropdown is closed.
Your method sounds like an appropriate way to solve the issue but I'll have to take a closer look at the YouTube and Vimeo APIs so I can if it will be a simple fix.
Feel free to post any links here if you think they'll help in solving this issue.
from concise.css.
I started looking into the complexities with requiring YouTube and/or Vimeo API's and the overhead seems a bit much. Think it may be possible to simply embed a youtube/vimeo link and generate a chromeless player as needed, then use the HTML5 video API for playback control. More cross-browser approach, but definitely needs testing. I'll be working on a local demo to see what I come up with, but I'll post my findings and perhaps get a pull request going.
from concise.css.
That would be great if you could come up with a local demo and send a pull request! I'm interviewing for jobs this week so I'm trying to tackle only immediate things for the time being. I really appreciate the help 😃
from concise.css.
Hey @bmcminn, did you get any time to work on this? I'm only curious because I was wondering if I should include it in the upcoming v2.0.0 release. If not, no worries, just thought I would check in.
from concise.css.
Haven't had much time to dabble in this issue beyond peeking at the source and see how the trigger was happening =\ I did find some info on wrapping the Youtube API in the HTML5 video API http://mediaelementjs.com/examples/?name=youtube
I think it's possible this could be extended to support vimeo as well, but may shelf that for a later patch.
from concise.css.
@bmcminn No worries, I appreciate you taking the time to look into it!
I'm going to shelve the idea for now as I've got my hands full with other features/improvements for v2.0.0, but I might come back to it, or you can, and we'll patch it in, or release it as an add-on.
from concise.css.
Related Issues (20)
- Simplify the font families HOT 1
- Have you successfully combined any baseline grid tools with Concise? HOT 9
- How can I remove these vertical scroll bars HOT 3
- grid="center" tag on small screens HOT 3
- Is v3.4 documentation available? HOT 2
- Overflow on `[container]` breaks `position: sticky` HOT 3
- Concise isn't compatible with postcss-input-range 3.0.1 HOT 2
- Rewrite the base styles
- Delete globals and everything that isn't CSS
- Move base styles to concise-core
- Any plans on form styling (input, select, checkbox, ...) HOT 3
- flex basis and IE11 HOT 1
- Custom unit lh invalid property value with node-sass HOT 1
- No exhaustive documentation
- How to use with rollup.js?
- How do I get Concise installed in a Rails 6 app?
- This is brilliant stuff. HOT 1
- What are the goals for this project?
- CDN is down HOT 3
- Codepens fail in doc HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from concise.css.