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

Jorrit’s picture

What player are you selecting?

Tsubo’s picture

More 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...

Tsubo’s picture

Tried Video for Everybody and Video.js

Tsubo’s picture

Ok. Point understood. Changing to a player that actually supports mp3 fixes the issue......

Thx.

Jorrit’s picture

If 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.

Tsubo’s picture

I wasn't going to ask.... But you are a star!

Many thanks.

Tsubo’s picture

I wasn't going to ask.... But you are a star!

Many thanks.

Tsubo’s picture

I wasn't going to ask.... But you are a star!

Many thanks.

Tsubo’s picture

Hi 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,

Jorrit’s picture

There should be a video-play-html5-audio.tpl.php, but I think I forgot to commit it. I will do that soon, apologies.

Tsubo’s picture

More info: In video.theme.inc the HTML5 theme wrapper calls 'video_play_html5_audio' which isn't included in the theme folder.....

Tsubo’s picture

Cross-posted.... thx ;)

Jorrit’s picture

The missing file has been committed.

Jorrit’s picture

Issue summary: View changes

fix code markup

heshanlk’s picture

Component: Video Players » General
Issue summary: View changes
Status: Active » Closed (fixed)