This paragraph has three samples of our new element, <media>, which is used to represent audio-visual media that we formerly encoded with <ptr> and <graphic>. If it's working, for each example we should see a media player ready to play an
audio file, with a "fallback" image and/or a description that reads "Fallback text
content for audio file (local pointer to resources directory)". If it's not working,
we see a "debug" message.
Example 1.2a: Video starting with TV test pattern, from "Locating Grid Technologies"
(hosted on Vimeo, using the link for the video itself (not the embed link):
Example 1.2b: Video starting with TV test pattern, from "Locating Grid Technologies"
(hosted on Vimeo, using the partial embed link, i.e. just adding "player" to the URL
from above):
Derived with modification from Kim, 000514.xml. This section includes six examples, showing <media> and <dhq:passThroughCode> both nested inside <figure> and on their own, with both YouTube and Vimeo examples. If these are working, we
should see the video player box for each example.
[This example is an audio file linked from inside the heading for a figure, and uses
<media>.]
Figure 11.
YOU ARE IN A LARGE ROOM, WITH A PASSAGE TO THE
SOUTH, A PASSAGE TO THE WEST, AND A WALL OF BROKEN ROCK TO THE
EAST. THERE IS A LARGE “Y2” ON A ROCK
IN ROOMS CENTER.
(Room 33, “YOU'RE AT
Y2”)
Example 5.2: [This example is an audio file inside a caption for a figure, encoded with <media>.]
Figure 12.
YOU ARE IN A LARGE ROOM, WITH A PASSAGE TO THE
SOUTH, A PASSAGE TO THE WEST, AND A WALL OF BROKEN ROCK TO THE
EAST. THERE IS A LARGE “Y2” ON A ROCK
IN ROOMS CENTER.
(Room 33, “YOU'RE AT
Y2”)
For example, we can use the <graphic> element to display pictograms, which are essentially small image files to be displayed
inline. In the following examples, we are using pixels e.g. the character (20px) and the character (30px) and the character (40px) and the character (50px)
For example, we can use the <graphic> element to display pictograms, which are essentially small image files to be displayed
inline. In the following examples, we are using ems (relative to font size): e.g.
the character (1em) and the character (2em) and the character (3em) and the character (43m)