Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS /

Using FileIFrameField in the CMS


Go to End
Reply


11 Posts   4563 Views

Avatar
moloko_man

Community Member, 72 Posts

15 April 2011 at 4:46am

Try doing the following in your ss file and see what is outputted.

<% control SampleTrack %>
$Debug
<% end_control %>

If I remember right I think I had to use something like $SampleTrack.URL to get it to work correctly.

Avatar
marc79

Community Member, 65 Posts

15 April 2011 at 5:05am

Thanks for the reply again. I have added in the $Debug and get the below response:

Database record: File

* ClassName:

File

* Created:

2011-04-14 16:52:43

* LastEdited:

2011-04-14 16:52:43

* Name:

air.mp3

* Title:

air

* Filename:

assets/music/air.mp3

* Sort:

0

* ParentID:

16

* OwnerID:

1

* ID:

23

* RecordClassName:

File

Using $SampleTrack.URL seems to be getting me a step closer, the controls flash up and the code looks right in Firebug, but still not playing.

Avatar
marc79

Community Member, 65 Posts

15 April 2011 at 5:10am

Scratch that. It's FF issue, need an ogg. Working fine in Safari and Chrome.

Thanks for all your help.

Go to Top