Commit 248edb4a authored by yPhil's avatar yPhil

Feed: New media type (mp4) for play link + icon

parent 96f581eb
@font-face {
font-family: 'fontello';
src: url('../font/fontello.eot?41517794');
src: url('../font/fontello.eot?41517794#iefix') format('embedded-opentype'),
url('../font/fontello.woff2?41517794') format('woff2'),
url('../font/fontello.woff?41517794') format('woff'),
url('../font/fontello.ttf?41517794') format('truetype'),
url('../font/fontello.svg?41517794#fontello') format('svg');
src: url('../font/fontello.eot?7129467');
src: url('../font/fontello.eot?7129467#iefix') format('embedded-opentype'),
url('../font/fontello.woff2?7129467') format('woff2'),
url('../font/fontello.woff?7129467') format('woff'),
url('../font/fontello.ttf?7129467') format('truetype'),
url('../font/fontello.svg?7129467#fontello') format('svg');
font-weight: normal;
font-style: normal;
}
......@@ -15,7 +15,7 @@
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family: 'fontello';
src: url('../font/fontello.svg?41517794#fontello') format('svg');
src: url('../font/fontello.svg?7129467#fontello') format('svg');
}
}
*/
......@@ -60,7 +60,6 @@
.icon-globe:before { content: '\e802'; } /* '' */
.icon-cloud:before { content: '\e803'; } /* '' */
.icon-up:before { content: '\e804'; } /* '' */
.icon-volume:before { content: '\e805'; } /* '' */
.icon-pencil:before { content: '\e806'; } /* '' */
.icon-ok:before { content: '\e807'; } /* '' */
.icon-comments:before { content: '\e808'; } /* '' */
......@@ -71,6 +70,7 @@
.icon-down-1:before { content: '\e80d'; } /* '' */
.icon-down-big:before { content: '\e80e'; } /* '' */
.icon-cancel:before { content: '\e80f'; } /* '' */
.icon-play:before { content: '\e810'; } /* '' */
.icon-flashlight:before { content: '\e812'; } /* '' */
.icon-plus:before { content: '\e813'; } /* '' */
.icon-cog:before { content: '\e814'; } /* '' */
......
No preview for this file type
......@@ -16,8 +16,6 @@
<glyph glyph-name="up" unicode="&#xe804;" d="M366 790l334-334q31-31 31-73t-31-74-74-31-73 31l-83 82 0-377q0-44-31-74t-73-30q-43 0-74 31t-31 73l0 377-82-82q-31-31-74-31t-74 31-31 74 31 73z" horiz-adv-x="731" />
<glyph glyph-name="volume" unicode="&#xe805;" d="M0 142l0 416 236 0 354 289 0-994-354 289-236 0z m652 35q73 74 73 176t-73 178l71 74q105-106 107-254 0-145-107-246z m118-119q123 119 123 295t-123 299l76 74q154-154 154-372t-154-372z" horiz-adv-x="1000" />
<glyph glyph-name="pencil" unicode="&#xe806;" d="M718 680q32-32 47-64t15-48l0-16-252-252-290-288-238-52 50 240 290 288 252 252q54 12 126-60z m-494-640l24 24q-2 44-52 94-22 22-45 35t-35 13l-14 2-22-24-18-80q28-16 46-34 24-24 36-48z" horiz-adv-x="780" />
<glyph glyph-name="ok" unicode="&#xe807;" d="M352-10l-334 333 158 160 176-174 400 401 159-160z" horiz-adv-x="928" />
......@@ -38,6 +36,8 @@
<glyph glyph-name="cancel" unicode="&#xe80f;" d="M0 90q0 36 26 62l195 195-195 196q-26 25-26 61t26 61 61 25 61-25l196-196 195 196q25 25 61 25t61-25 25-61-25-61l-195-196 195-195q25-26 25-62t-25-61q-25-25-61-25t-61 25l-195 195-196-195q-25-25-61-25t-61 25q-26 26-26 61z" horiz-adv-x="686.5" />
<glyph glyph-name="play" unicode="&#xe810;" d="M0 350q0 207 147 354t353 146 354-146 146-354-146-354-354-146-353 146-147 354z m375-250l375 250-375 250 0-500z" horiz-adv-x="1000" />
<glyph glyph-name="flashlight" unicode="&#xe812;" d="M807 706q62-62 85-130t-5-92l-134-134q-16-16-62-26t-96-4l-408-408q-18-18-57-6t-75 50q-36 36-49 74t5 56l408 408q-6 50 4 96t26 62l136 136q24 28 92 4t130-86z m-448-408q32-32 80 14 46 46 14 82-14 14-38 10t-44-24-23-43 11-39z m336 298q30-30 68-50t62-25 28-1q2 4-4 27t-26 60-50 67-66 50-59 26-27 2 1-28 25-62 48-66z" horiz-adv-x="902" />
<glyph glyph-name="plus" unicode="&#xe813;" d="M550 400q30 0 30-50t-30-50l-210 0 0-210q0-30-50-30t-50 30l0 210-210 0q-30 0-30 50t30 50l210 0 0 210q0 30 50 30t50-30l0-210 210 0z" horiz-adv-x="580" />
......
No preview for this file type
......@@ -315,12 +315,12 @@ PTL.feed = {
imageUrl = item.enclosures[0].url;
}
if (item.enclosures[0].url.match(/\.(ogg|mp3)$/)) {
if (item.enclosures[0].url.match(/\.(ogg|mp3|mp4)$/)) {
$soundLink
.attr('href', item.enclosures[0].url)
.appendTo($itemDiv);
$soundIcon
.attr('class', 'item-icon icon-volume')
.attr('class', 'item-icon icon-play')
.appendTo($soundLink);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment