Audio on HTML producer

#1
I'm doing a proof-of-concept for using the HTML as graphics but before I go too far pulling the config file apart:

Does the HTML producer support audio output?

Code: Select all

 var audio = new Audio('./media/alien-bomb-timer.wav');
    audio.play();
I've tried this (which works in a browser) and also tried

Code: Select all

PLAY 1-10 [HTML] https://www.youtube.com/embed/bS5P_LAqiVg?autoplay=true
At the moment neither have audio, I want to check that there should be before I spend too much time here.

Thanks.

Re: Audio on HTML producer

#3
in addition to hreinnbeck:

on windows you can set the default audio device to be your decklink card, though.

you will probably lose sync.
CasparCG enthusiast and broadcast geek - Sometimes, I do get payed for this stuff.

Re: Audio on HTML producer

#4
Is this something that is likely to be added (html template audio to decklink) as I am working on a gameshow template at the moment and was planning to play sound effects this way?

It isn't a major problem as I can work around it but it might be useful.

Phil

Re: Audio on HTML producer

#6
As I am not an HTML crack, I cannot tell you exactly how to do it in HTML 5.

But in Flash I connect back to the local Caspar server (from the view of the template it's ALWAYS the local server) and send a PLAY command for a audio file on a separate layer (otherways you kick yourself out). That plays very nicelly on the SDI output.
Didi Kunz
CasparCG Client-Programmer, Template Maker & Live CG-Operator
Media Support, CH-5722 Gränichen, Switzerland http://mediasupport.ch/
Problems? Guide to posting Bug reports & Feature requests

Who is online

Users browsing this forum: No registered users and 2 guests

cron