Yuav Ua Li Cas Rau Embed Video Hauv HTML

Cov txheej txheem:

Yuav Ua Li Cas Rau Embed Video Hauv HTML
Yuav Ua Li Cas Rau Embed Video Hauv HTML

Video: Yuav Ua Li Cas Rau Embed Video Hauv HTML

Video: Yuav Ua Li Cas Rau Embed Video Hauv HTML
Video: Как в частном порядке встраивать видео YouTube и Vimeo на свой веб-сайт 2024, Kaum ib hlis
Anonim

HTML yog cov lus cim rau kev tsim thiab ua haujlwm cov nplooj ntawv Web site. Nws muaj peev xwm los tso tawm hauv cov qhov rai browser tsis tsuas yog cov duab, txuas thiab cov txiaj ntsig ntawm ntau cov ntawv sau, tab sis kuj saib video. Tso cov yeeb yaj kiab video rau hauv nplooj ntawv tuaj yeem ua tsis tau tsuas yog siv cov cuab yeej txheem lus, tab sis kuj tseem siv Flash technology txhawb nqa.

Yuav ua li cas rau embed video hauv HTML
Yuav ua li cas rau embed video hauv HTML

Cov Lus Qhia

Kauj ruam 1

Cov HTML markup lus siv cov ntawv cim npe tshwj xeeb los tso saib tus neeg uas ua video saib ntawm lub vijtsam. Qhib cov ntawv HTML nrog txhua tus ntawv xov xwm thiab ntxiv kab:

Qhov piav qhia no muaj ntau qhov kev txwv ntxiv. Qhov dav tus cwj pwm tso cai rau koj los qhia lub tsau video dav, thiab qhov siab - qhov siab. Autostart yog lub luag haujlwm rau kev pib lub player tom qab nias lub pob. Qhia kom meej Loop parameter yog tias koj xav tau kom rov ua haujlwm tsis siv neeg.

Kauj ruam 2

Txhawm rau tsim cov tswj hwm rov ua haujlwm, qhia kom meej xws li = qhov tseeb. Nrog rau txhua cov kev ntsuas tshwj xeeb, cov kab ntawv no yuav zoo li no:

Kauj ruam 3

Yog tias koj xav suav cov vis dis aus ntawm nplooj ntawv siv Flash, siv Adobe Flash program. Yog tias tsis yog, teeb tsa daim ntawv thov los ntawm rub tawm lub installer los ntawm lub vev xaib tsim tawm Adobe.

Kauj ruam 4

Mus rau Cov Ntaub Ntawv - Tshiab los tsim qhov project tshiab. Hauv cov ntaub ntawv xaiv qhov rai, xaiv Flash Cov Ntawv.

Kauj ruam 5

Txhawm rau hloov qhov siab thiab dav ntawm zaj yeeb yaj kiab, xaiv Hloov Kho - Daim Ntawv, qhov twg rau qhov ntev Qhov ntev hais kom meej cov txiaj ntsig koj xav tau. Hauv Tom qab xim xim tom teb, koj tuaj yeem tsim cov xim tom qab uas yuav muab tso ua ntej thiab tom qab cov ntaub ntawv tawm.

Kauj Ruam 6

Tom qab kho cov yees duab loj, import cov ntaub ntawv xav tau los ntawm Cov Ntawv Qhia - Ntshuam tab. Qhia meej meej txoj hauv kev rau kev yees duab, nyem Qhib. Hauv cov ntawv qhia tom ntej no, xaiv thawj qhov kev vam meej ua tau rub tawm los ntawm hom web-server.

Kauj Ruam 7

Kho kom raug lub sijhawm ntawm kev yees duab siv cov editor. Teeb tsa tus saib ntawm tus neeg ua si yuav tsum tau ua kom pom ntawm qhov screen rau tswj video. Tom qab ua tiav tag nrho cov chaw, nyem Ua tiav.

Kauj ruam 8

Nyem rau ntawm Ntaub Ntawv - Txuag ntawv qhia zaub mov, qhia lub npe cov ntaub ntawv, xaiv cov hom fla. Tos kom txog thaum kawg txuag cov video, mus rau Cov Kev Tshaj Tawm Cov Chaw. Hauv qhov tawm tswv yim tab, khij cov npov tom qab ntawm Flash thiab HTML. Hauv lub Flash tab, khij lub npov compression yeeb yam. Hauv HTML tab rau Template, teev Flash Tsuas. Tom qab ua tiav kev teeb tsa, nyem Luam tawm thiab khaws koj cov haujlwm dua.

Kauj Ruam 9

Luam qhov code ntawm cov ntawv html rau koj nplooj. Tom qab qhib cov ntaub ntawv, koj tuaj yeem ua daim vis dis aus.

Pom zoo: