How to reduce multiple media preparing

December 09, 2014

Reading time ~1 minute

Media Fragments URI

You can play media from certain time using Media Fragments URI.

If you want to get some videos (e.g. small tutorial) you would send some requests(lesson1.mp4, lesson2.mp4, lesson3.mp4)

It is so bother.

You had better to combine all videos and request it only using Media Fragments URI. It will reduce to prepare multiple media resources.

The format is below.

<source type="video/webm" src="video.webm#[start],[end]">

example

This video will play from 3s to 5s.

<video class="video" muted controls>
	<source type="video/webm" src="http://tomoyukikashiro.me/sample/video/landscape.webm#3,5">
	<source type="video/mp4" src="http://tomoyukikashiro.me/sample/video/landscape.mp4#3,5">
</video>

Deomo

http://codepen.io/Tkashiro/full/KwVeRM

Browser Support

Almost browser support it including mobile browser.

add ticket number to git commit automatically

Most of ticket tracker like Github, pivotal tracker have function to connect your commit to ticket(story).But every time when you commit ...… Continue reading

I will build frontend and backend separately

Published on September 28, 2016

order of angular controller's initialisation

Published on October 05, 2015