Jump to content
php.lv forumi

embed video, tal ai nevaretu download..


ezis

Recommended Posts

y0!

Taisu tādu kā video galeriju, bet problēma ir tajā, ka apskatot sourci var redzēt tiešu saiti uz failu & līdz ar to lejuplādēt.. Tadn nu vēlos uzzināt, kā to novērst.

<script type='text/javascript' src='lib/flashplayer/swfobject.js'></script>
<div id='mediaspace'>wideooooo!!!...</div>

<script type='text/javascript'>
 var so = new SWFObject('lib/flashplayer/player.swf','ply','465','350','9','#ffffff');
 so.addParam('allowfullscreen','true');
 so.addParam('allowscriptaccess','always');
 so.addParam('wmode','opaque');
 so.addVariable('file','http://manasaite/videos/m.swf');
 so.addVariable('controlbar','over');
 so.addVariable('logo','http://87.110.27.42/wincuplv.gif');
 //so.addVariable('link','http://www.longtailvideo.com');
 so.addVariable('displayclick','link');
 so.addVariable('screencolor','FFFFFF');
 so.addVariable('autostart','false');
 so.addVariable('stretching','fill');
 so.write('mediaspace');
</script>

 

šādi es pašlaik izvadu video..

Edited by ezis
Link to comment
Share on other sites

waplet, var jau gan + diezgan elementāri, nav pat nekas jāmeklē. Uzliec vienu otru ff plugin'u un viņš pats piedāvā download'ot.

 

Cita tēma ir tāda, ka draugiem.lv glabā .flv, nevis .mp3, taču arī tā nav problēma -> pārkonvērtējam uz mp3 un bāz kur gribi.

Link to comment
Share on other sites

Jebko, ko attēlo/atskaņo tavs browseris, var novlikt. Tai skaitā arī streamojošu radio. Nav svarīgi vai tas ir teksts, audio, video, vai bildes. Ja browseris to redz, ar lielāku vai mazāku piepūli lietotājs to var dabūt jebkādā formātā uz sava diska.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...