Seriously.js icon indicating copy to clipboard operation
Seriously.js copied to clipboard

Get Videos by URL

Open REPTILEHAUS opened this issue 8 years ago • 5 comments

Is it possible to supply serioulsy with json or some other format rather than having to place hidden video elements at the end of my page, hidden with css ?

If not it would be a really cool feature.. my new site looks great but it kind of bugs me that the html video element is still in my source code

REPTILEHAUS avatar Jun 07 '16 19:06 REPTILEHAUS

Have you tried videoElement.remove()? I'm wondering if the video actually needs to be in the dom, or if it can just exist in memory.

positlabs avatar Jun 07 '16 19:06 positlabs

Hey, that didnt work for me, the video just doesnt display now... I basically have 3 videos on my homepage that I want to do this for.. its not totally a dealbreaker but id really like to feed those video urls into the plugin somehow

REPTILEHAUS avatar Jun 07 '16 20:06 REPTILEHAUS

I'm having trouble seeing what the issue is. You want to feed 1 of 3 videos into a seriously graph, right? You can easily write a method for managing which one is active, and remove inactive videos from the DOM. I don't see much benefit in adding this functionality into the the lib.

If you want to post some code, I could give more advice.

positlabs avatar Jun 07 '16 21:06 positlabs

No I want all 3 videos to display on 3 separate canvas elements but I want the actual elements to be removed from the code completely..

I tried using element.remove() on all 3 but then the video doesnt play

On Tue, Jun 7, 2016 at 10:26 PM, Josh Beckwith [email protected] wrote:

I'm having trouble seeing what the issue is. You want to feed 1 of 3 videos into a seriously graph, right? You can easily write a method for managing which one is active, and remove inactive videos from the DOM. I don't see much benefit in adding this functionality into the the lib.

If you want to post some code, I could give more advice.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/brianchirls/Seriously.js/issues/120#issuecomment-224419463, or mute the thread https://github.com/notifications/unsubscribe/AEdrreQMhT-qUjFwkAmr6Au2H-RReyBaks5qJeHsgaJpZM4IwQYg .

Kind Regards,

Paddy O’Sullivan

Freelance Web Developer & Administrator Lassie Marlowe Digital Office: Studio 15 c/o BlockT, Smithfield Chambers, Smithfield Square, Dublin 7, Ireland Linkedin: ie.linkedin.com/in/paddyjosullivan Email: [email protected] Web: www.lassiemarlowe.com Phone: +353 86 024 2110

REPTILEHAUS avatar Jun 08 '16 09:06 REPTILEHAUS

Sorry I think you're out of luck. You could create/insert the videos via js, as opposed to declaring them in html, but the elements will still exist.

positlabs avatar Jun 08 '16 15:06 positlabs