-
Re: Using a "play" button in HTML output
I've used the same type of href-link and added a few lines of vbs code to fix the lacking 0 in track numbers under 10.
Of course you have to turn your web pages into asp pages. But it works fine. You could of course do the same with javascript/jsp.
Here's an example:
'\ Add 0 to track numbers under 10
If strTrackNum < 10 Then
'\ Max 36 characters in iTunes track file name
strTrackTitle = Trim(Mid("0<!--[tracknum/]--> <!--[tracktitle/]-->",1,36))
Else
'\ Max 36 characters in iTunes track file name
strTrackTitle = Trim(Mid("<!--[tracknum/]--> <!--[tracktitle/]-->",1,36))
End If
iTunes also adds <# in set> to the track file name when the album is part of a CD set, so I've added some more code to be able to handle CD sets.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules