QTSS Publisher Options
When you're using QTSS Publisher to create playlists, you have a few options as to how others receive the streams.
One option is to send the playlist to another broadcast server. To do this,
open
the QTSS Publisher application, select the playlist you want to stream, and click the Settings button
in the Toolbar. Click the Advanced tab, and fill in the IP address,
user
name
, and password of the broadcasting server where you wish to send the playlist. Click the Apply button (
Figure 12.44
).
Another option is to use QTSS Publisher to create code that you can insert into Web pages you want others to visit. This code can be
copied
and pasted into the middle of other HTML (Web page) code. To obtain the code, open the QTSS Publisher application, click the Links button
in the Toolbar, select the playlist you want, and click the HTML tab (
Figure 12.45
). Click inside the window containing the code, select it all, and copy it. Then, switch to your HTML application, and paste the code where you want it.
You can also vary the look of the link in both the QuickTime Player and any Web browser when users connect to your streaming server. If you wish to add an image, that image should be a JPEG or GIF image to be compatible with most Web browsers.
To add an image to your playlist:
|
1.
|
Launch the QTSS Publisher tool from /Applications/Server, and authenticate as the QuickTime Streaming Server administrator (
Figure 12.46
).
|
|
2.
|
Click the Links button
in the Toolbar, select the media playlist you want, and click the Display tab (
Figure 12.47
).
|
|
3.
|
Click the Custom Image option button, and navigate to where the image exists on your server.
Select the image, and click the Open button to place it inside the window (
Figure 12.48
).
|
|
4.
|
Optionally, you can add a caption in the Caption field (
Figure 12.49
).
|
|
5.
|
Click the Apply button to save the changes.
|
How to use the image
Once an image is added, you need to choose how it will be used. You have three options in the Display pane, each of which generates different HTML code for use in a Web page:
Open in QuickTime Player
allows the image to be embedded so that when you're viewing the stream from a QuickTime Player, the image will appear (
Figure 12.50
).
"Embed in Web page"
places the image in a Web page and plays the stream when the user clicks the image (
Figure 12.51
).
"Auto-play in Web page"
permits
the stream to automatically begin playing when the user enters the Web page (
Figure 12.52
).
Remember, each option has different HTML code associated with it. If necessary, you need to copy that code and pasted it into the HTML code of your Web page(s).
Tips
QTSS Publisher Web pages
QTSS Publisher also lets you create preformatted Web pages. These pages include all the code necessary for a Web page to be built so users can connect and view information about the playlist.
To create a preformatted Web page:
|
1.
|
Enable your Web site, and start the Web service (see Chapter 9, "Web Services," for instruction on starting your Web service).
|
|
2.
|
Launch the QTSS Publisher tool from /Applications/Server, and authenticate as the QuickTime Streaming Server administrator (
Figure 12.53
).
|
|
3.
|
Be sure the playlist is broadcasting (see the earlier task "To create a video playlist").
|
|
4.
|
Click the Links button
in the Toolbar, and select the media playlist you want (
Figure 12.54
).
|
|
5.
|
Click the Make Web Page button
in the Toolbar.
|
|
6.
|
In the resulting dialog, choose the type of Web page from the Template pop-up menu, enter the information you want on your Web page, and click the Create Page button
(
Figure 12.55
).
Your default Web browser opens and connects to the link you just created (
Figure 12.56
).
|
MP3 playlist links
MP3 playlists can also be embedded in Web pages and, more important, streamed to iTunes. The setup is similar to that for AAC (.m4a) files and video files; however, there are no options for images in QTSS Publisher. You must edit the Web pages directly to insert album art or other images.
To create an MP3 Web page:
|
1.
|
Launch the QTSS Publisher tool from /Applications/Server, and authenticate as the QuickTime Streaming Server administrator (
Figure 12.57
).
|
|
2.
|
Make sure the playlist is broadcasting (see the earlier task "To create a video playlist").
|
|
3.
|
Click the Links button
in the Toolbar, select the MP3 playlist you want, and
do one of the following
(
Figure 12.58
):
-
Click the Display tab, enter the text link that users will use to gain access to the stream as well as a caption to go with the stream (if you wish), and click the Apply button (
Figure 12.59
).
-
Click the HTML tab, and view the HTML code, which you can copy and paste into your own Web pages (
Figure 12.60
).
|
|
4.
|
Click the Make Web Page button
in the Toolbar.
|
|
5.
|
In the resulting dialog, choose the type of Web page from the Template pop-up menu, enter the information you want on your Web page, and click the Create Page button
(
Figure 12.61
).
Your default Web browser opens and connects to the link you just created (
Figure 12.62
).
|
|
6.
|
Click the link in the Web page to download the appropriate file, which iTunes opens automatically (
Figure 12.63
).
You can also open iTunes directly, choose Advanced > Open Stream, type in the link to your stream, and click OK (
Figure 12.64
).
|
|