Monday, October 28, 2013

Membuat Video Player dengan HTML 5

Untuk membuat video player dengan menggunakan HTML 5 tidak usah menggunakan plugin seperti jwplayer dll cukup dengan tag - tag HTML 5 saja. berikut kode script HTML 5 untuk membuat video player

<!DOCTYPE html>
<?php
if (isset($_GET['id']))
{
    $id=$_GET['id'];
}
?>
<html>
<body>
<h1 align="center">Video Player </h1>
<div id="container" align="center">
<video width="320" height="240" controls="controls" autoplay="autoplay" >
<!--<source src="LARVA - Decay.mp4" type="video/mp4" />-->
<?php
if($id==""){
    echo '<source src="videos/LARVA - Decay.mp4" type="video/mp4" />';
}
else{
    echo '<source src="videos/',$id,'" type="video/mp4" />';
}
echo 'Your browser does not support the video tag. ';
?>
</video>
</div>
<div id="list" align="center">
<h3>Daftar List Video</h3>
<a href="index.php?id=LARVA - Puding.mp4">LARVA - Puding</a>
<br>
<a href="index.php?id=LARVA_Cement.mp4">LARVA - Cement</a>
<br>
<a href="index.php?id=LARVA_Balloon.mp4">LARVA_Balloon‬</a>
<br>
<a href="index.php?id=LARVA - Decay.mp4">LARVA - Decay</a>
</div>
</body>
</html>

berilah nama file index.php. file ini diletakkan dalam webserver/xampp anda. dan berilah folder videos untuk menyimpan video yang akan ditampilkan. setelah selesai buka file di browser localhost anda

contoh screenshotnya :

 

Thursday, August 1, 2013

Lirik THE SIGIT - CONUNDRUM

I went down at the banyan trees.
I would never agrees.
Declarants of your improvement.
(Ride a white swan)

I read all the history books.
I don't know if I should.
Keep believes in your exponents.
(Ride the tide now)
(Ride a white swan)



I don't know if I should
(Ride the tide now)
I don't know if I could
(Ride a white swan)

Time does not heal.
Pain only disappear.
How could you say you paid attention.
Yet keep making the same mistake?
How could you say you paid attention.
Yet keep making the same mistake?
Same mistake.

Lirik THE SIGIT - COGNITION

People dont care about what I do
They are only speeding
Time is just a pace of our conscience 
Time is mate of feeling

People do care about dime can do
They care a lot of feeding
Hunger is a taste not a burden
Hunger makes an eagle

It’s a perception behind that door


Teachers don't care about what we do 
We dont even hear them
In their eyes we are always wrong
That’s why we always cheat them

The major can’t do what I can do
But I dont want his seat man!
He has been the source of destruction
He sure needs some beating

We should have hanged him long ago!

Lirik THE SIGIT - RING OF FIRE

Only desire I have in me.
A golden empire out from the sea.
Boy for the pirates, bay for the thieves.
In every disaster there's a faulter to seek.
Does it matter ? Does it matter ?
It's only matters for a while.
Does it matter ?

This land on fire.
This land could bleed.
In every disaster there's a faulter to seek.
People meander, wait to retreat.
People forsaken of what they believe.
Does it matter ? Does it matter ?
It's only mattes for a while.
Does it matter ?

Feel like we're fixing to die.
Only loneliness keeps us alive.
No shoulder left to cry.
There's a moment we can't survive,


Does it matter ? Doesn't matter.

Lirik THE SIGIT - RED SUMMER

Summer, we were given to burn
Summer, we were given to learn
Define human needs to make one feel alive
The list will go too far
Devine human greed and their way to achieve
The list won't make an art

Oh Summer. Oh Bummer.

Summer, we were given to burn
Summer, we were given to learn
The half human being in their birthday suits
And the real men with their tout
When the former slaved then burnt on the ground
The latter won't make a fuss about

Oh Summer. Oh Bummer. 

Lirik THE SIGIT - BLACK SUMMER

Feel like I don’t belong
Feel like I’m not that strong
Never talk of what I’ve been
No one knows what I have seen

Sun of a gun, bark at the sun
Bark at the sun out of one mind

Been out collecting sin
Been down of the broken fin
Never talk of what I’ve spilled
No one knows what I have killed

I taste its bitterness and I want it more
I’ve got the burdens of my own
Leave it be mine

 
Dark of thou frown, lights from the ground
Bark at sun ye sun of a gun
Bark at the sun out of one mind

I lay on your side and losing fight
I’m out of your side to hold you tight
Our nights without lights
We can not see
no more, no more, no more, no more

Lirik THE SIGIT - OWL AND WOLF

We don’t need to speak our names
And our things that float in between
Let me haze over by your side
Under your wings as king and queen
We dance the shadow of these lonely pines

And tonight we follow the rhythm of this howling wolf
Huuu huuu huuu huuuuuuuu
Huuu huuu huuu huuuuuuuu

We sing a song of our midnight glamour
Our eyes illuminate in high and low
I set the fire on the black hole’s gates
To keep us holding on until the day light breaks
We are the stealer of the stars tonight

And silently we sing the echos of this crying wolf
Huuu huuu huuu huuuuuuuu
Huuu huuu huuu huuuuuuuu

Under the crescent shades
We hide, dance and sing, and widely awake
Rovers of the mountain forgotten away
We hold the lights of these silent night
Time goes by for these own and wolf