-
Notifications
You must be signed in to change notification settings - Fork 643
Expand file tree
/
Copy pathmedia-types.html
More file actions
85 lines (64 loc) · 5.73 KB
/
media-types.html
File metadata and controls
85 lines (64 loc) · 5.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{% extends "base.html" %}
{% block content %}
<article>
<section class="section-color container">
<p class="breadcrumb"><a href="index.html">《 Back to main documentation page</a></p>
<h2 class="header-story" id="media-types">Media Types</h2>
<p>
People have always loved how easy TimelineJS makes it to add rich media to the slides that tell your story. The new version of Timeline continues the tradition and adds a few new media types.
</p>
</section>
<section class="section-color container">
<div class="grid">
<div class="column-12">
<dl>
<dt id="media-type-image">Image</dt>
<dd>If your URL ends in <code>jpg</code>, <code>gif</code>, <code>png</code> or <code>jpeg</code>, it will be used as the source for an image tag. It should also work if there is a <a href="https://en.wikipedia.org/wiki/Query_string">query string</a> after the extension, perhaps specifying dynamic width and height values.
</dd>
<dt id="media-type-video-streaming">Online Videos</dt>
<dd>Use the URL for the page of the video for <a href="http://vimeo.com">Vimeo</a>, <a href="http://DailyMotion.com">DailyMotion</a>, <a href="http://Vine.co">Vine</a>, and <a href="http://youtube.com/">YouTube</a>. Timeline honors <a href="http://youtubetime.com/">Youtube start-at time parameters</a>.</dd>
<dt id="media-type-video-file">Video Files</dt>
<dd>Use a link to a video file on the internet. Timeline currently supports <code>.mp4</code> files.</dd>
<dt id="media-type-audio-file">Audio Files</dt>
<dd>Use a link to a video file on the internet. Timeline currently supports <code>.mp3</code>, <code>.m4a</code>, and <code>.wav</code> files.</dd>
<dt id="media-type-soundcloud">SoundCloud</dt>
<dd>Use the URL for the <a href="http://soundcloud.com">SoundCloud</a> clip page.</dd>
<dt id="media-type-spotify">Spotify</dt>
<dd>Supports use of tracks, albums, and user playlists. Use the URL obtained from clicking on "Copy Spotify URL."</dd>
<dt id="media-type-twitter">Twitter</dt>
<dd>Use the URL of the tweet's page. We no longer recommend using the Twitter embed code, especially if you include more than one tweet in your timeline.</dd>
<dt id="media-type-google-maps">Google Maps</dt>
<dd>Use the URL for the <a href="http://google.com/maps">Google Maps</a> page (unless you are using Streetview, which currently requires the embed URL found in the "Share" section). Coordinates, search results, place marks and directions are all honored by Timeline. TimelineJS supports roadmap, hybrid, satellite and terrain Google Maps, as well as directions, places, and Streetview maps.</dd>
<dt id='media-type-instagram'>Instagram</dt>
<dd><s>Use the URL for the <a href="http://www.instagram.com">Instagram</a> photo's page.</s> Because of changes to Instagram's API terms, Timeline's ability to embed Instagram posts no longer works. We have been unable to satisfy Meta's requirements to get access to use the new API. We do not know if or when we'll be able to restore Instagram embeds to timeline.</dd>
<dt id='media-type-flickr'>Flickr</dt>
<dd>Use the URL for the <a href="http://www.flickr.com">Flickr</a> photo's page. The shortened link provided in the share menu (e.g. <code>https://flic.kr/p/sv3VN6</code>) will also work.</dd>
<dt id='media-type-imgur'>Imgur</dt>
<dd>Use the URL for the <a href="http://imgur.com">Imgur</a> photo's page. These URLs often (but not always)
include the string <code>/gallery/</code>. You should not use a "direct" Imgur URL (typically including
<code>i.imgur.com</code> and ending in an extension like <code>.jpg</code> or <code>.gif</code>). This
is considered "hotlinking" and is specifically against Imgur's terms of service. That kind of Imgur
URL may appear to work for a short period, but will not work for long.
</dd>
<dt id="media-type-document-cloud">DocumentCloud</dt>
<dd>Use the URL of the <a href="http://www.documentcloud.org">Document Cloud</a> document's page.</dd>
<!-- <dt id="media-type-">Google Doc</dt>
<dd>Use the shareable URL provided for your <a href="http://www.google.com/docs/">Google Doc</a>.</dd>
Not sure exactly how to link to Google docs...
-->
<dt id="media-type-wikipedia">Wikipedia</dt>
<dd>Use the URL of the <a href="https://en.wikipedia.org/">Wikipedia</a> article's page.</dd>
<dt id="media-type-iframe">iframe</dt>
<dd>Instead of a URL, you can use <code><iframe></code> markup. This is a good general workaround to embedding media types that TimelineJS doesn't handle directly.</dd>
<dt id="media-type-blockquote">Blockquote</dt>
<dd>Instead of a URL, you can use <code><blockquote></code> tags around whatever text you want to quote.</dd>
<dt id="media-type-wistia">Wistia</dt>
<dd>Use the URL of the <a href="https://wistia.com">Wistia</a> video. You can find this in either the "Social Sharing" or "Embed Code" tab of your video.</dd>
<dt id="media-type-tiktok">TikTok</dt>
<dd>Use the URL of the <a href="https://tiktok.com">TikTok</a> video. You can get this with "copy link" from the sharing menu. Note: TikTok embeds have a fixed height of 740 pixels, which means that in a default timeline configuration, they overflow the slide area. You can, of course, set the height of your timeline to be more than that, or you can let your users scroll or use the TikTok full-screen feature.
</dl>
</div>
</div>
</section>
</article>
{% endblock %}