Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
admin:indexing:powersearch:example [2011/11/22 22:42]
doc
admin:indexing:powersearch:example [2016/06/28 22:38] (current)
Line 17: Line 17:
  
 ==== Example ==== ==== Example ====
- 
- 
-<​html>​ 
-<!-- copy and paste. Modify height and width if desired. --> ​       
-<​script>​ 
-function loadVideo() 
-{ 
-  var div = document.createElement("​div"​);​ 
-  div.innerHTML =  
-  "<​object id='​scPlayer'​ width='​720'​ height='​540'​ \ 
-     ​type='​application/​x-shockwave-flash'​ \ 
-     ​data='​http://​content.screencast.com/​users/​omnidex/​folders/​Omnidex%20Demos/​media/​246eaae0-928e-4e11-b6b0-acd86f5f1563/​scplayer.swf'>​ \ 
-     <​param name='​movie' ​            ​value='​http://​content.screencast.com/​users/​omnidex/​folders/​Omnidex%20Demos/​media/​246eaae0-928e-4e11-b6b0-acd86f5f1563/​scplayer.swf'/>​ \ 
-     <​param name='​quality' ​          ​value='​high'/>​ \ 
-     <​param name='​bgcolor' ​          ​value='#​FFFFFF'/>​ \ 
-     <​param name='​flashVars' ​        ​value='​thumb=http://​content.screencast.com/​users/​omnidex/​folders/​Omnidex%20Demos/​media/​246eaae0-928e-4e11-b6b0-acd86f5f1563/​FirstFrame.png&​containerwidth=720&​containerheight=540&​autohide=true&​autostart=true&​loop=false&​showendscreen=true&​showsearch=false&​showstartscreen=true&​tocdoc=left&​xmp=sc.xmp&​content=http://​content.screencast.com/​users/​omnidex/​folders/​Omnidex%20Demos/​media/​246eaae0-928e-4e11-b6b0-acd86f5f1563/​Omnidex%20ActiveCounts%20Demo.mp4&​blurover=false'/>​ \ 
-     <​param name='​allowFullScreen' ​  ​value='​true'/>​ \ 
-     <​param name='​scale' ​            ​value='​showall'/>​ \ 
-     <​param name='​allowScriptAccess'​ value='​always'/>​ \ 
-     <​param name='​base' ​             value='​http://​content.screencast.com/​users/​omnidex/​folders/​Omnidex%20Demos/​media/​246eaae0-928e-4e11-b6b0-acd86f5f1563/'/>​ \ 
-   </​object>";​ 
-  var src = document.getElementById("​scImg"​);​ 
-  src.parentNode.replaceChild(div.firstChild,​src);​ 
-} 
-</​script>​ 
-<a href=""​ id="​scImg"​ onClick="​javascript:​loadVideo();​return false;">​Click Me</​a>​ 
-</​html>​ 
- 
- 
  
  
 
Back to top
admin/indexing/powersearch/example.1322001733.txt.gz ยท Last modified: 2016/06/28 22:38 (external edit)