I have created a Zencoder preset for transcoding Audio files to .mp3 - which is working fine.
I'm not seeing any output for the video field in the HTML though when I view the node. All I see is an empty <video></video>
with the preload, controls and poster params.
I know this is a video module, but given it's capabilities, and the option to specify a Player specifically for .mp3 files in the module config... I was hoping this would work.
Any reason why .mp3 files would be overlooked/ignored in the theme formatter?
I'm testing in an environment that we use for other video transcoding tasks, so I confident there is nothing wrong with the setup in general.
Thanks as always,
Comments
Comment #1
Jorrit CreditAttribution: Jorrit commentedWhat player are you selecting?
Comment #2
Tsubo CreditAttribution: Tsubo commentedMore info:
Using devel module I can see for sure that the transcoded .mp3 file is available in the node object 'playablefiles' so it should be rendering...
Comment #3
Tsubo CreditAttribution: Tsubo commentedTried Video for Everybody and Video.js
Comment #4
Tsubo CreditAttribution: Tsubo commentedOk. Point understood. Changing to a player that actually supports mp3 fixes the issue......
Thx.
Comment #5
Jorrit CreditAttribution: Jorrit commentedIf you try the next 7.x-2.x-dev release, you'll find a HTML5 audio player that writes an
<audio>
tag instead of a<video>
tag.Comment #6
Tsubo CreditAttribution: Tsubo commentedI wasn't going to ask.... But you are a star!
Many thanks.
Comment #7
Tsubo CreditAttribution: Tsubo commentedI wasn't going to ask.... But you are a star!
Many thanks.
Comment #8
Tsubo CreditAttribution: Tsubo commentedI wasn't going to ask.... But you are a star!
Many thanks.
Comment #9
Tsubo CreditAttribution: Tsubo commentedHi Jorrit,
I've had quick look through this. Player config looks good, and I can see the various changes in video.admin.inc, video.theme.inc, etc.... but I'm not seeing changes to video-play-html5.tpl.php and hence no output in the node display. Did everything make it into the dev branch, or am I overlooking something?
Cheers,
Comment #10
Jorrit CreditAttribution: Jorrit commentedThere should be a video-play-html5-audio.tpl.php, but I think I forgot to commit it. I will do that soon, apologies.
Comment #11
Tsubo CreditAttribution: Tsubo commentedMore info: In video.theme.inc the HTML5 theme wrapper calls 'video_play_html5_audio' which isn't included in the theme folder.....
Comment #12
Tsubo CreditAttribution: Tsubo commentedCross-posted.... thx ;)
Comment #13
Jorrit CreditAttribution: Jorrit commentedThe missing file has been committed.
Comment #13.0
Jorrit CreditAttribution: Jorrit commentedfix code markup
Comment #14
heshanlk