Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
User's Created Tips and Insights
Embedding video-player in website (a little tutorial).|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Honorary Mechanic |
.
There were some embedding-video questions. I have a lot of experience with that and know that in most cases you better use a piece of code wich you can easely find using Google instead of doing it the "Import foreign object" way Just look for "Embed Windows Mediaplayer" "Embed Realplayer" "Embed Quicktime player" Then you will find some code consisting of between 2 upto 20 lines wich you should paste and copy into Sitespinner via the "Code" button. If any problems occur...try first to change the layer of the embedding-code...on top...or down. With mentioned scripts you can customize everything...like : Show controls. Auto or manual start. Transparent background. Transparent on start. Size of player screen. Audio-balance. Position-control. Play a series of videos (chaining). Set initial volume. .....etc (the full wmp parameters list on bottom of this message) I would advise to use WMP since almost everyone has that. if they dont have a certain player...they will first have to download and install wich takes a lot of time so you will lose your visitors attention. Here´s a few links with ready usable code ------------------------------------------ http://www.geekpedia.com/tutorial152_Embedding-Windows-...into-a-web-page.html http://msdn2.microsoft.com/en-us/library/bb248343.aspx http://msdn2.microsoft.com/en-us/library/ms867217.aspx#...s_media_player__dwmn Here´s some examples with html/codes...ready to copy and paste http://www.mediacollege.com/video/format/windows-media/.../embed-examples.html There is a whole list of things you can customize here´s that full WMP"parameter" list (takes a little more time to find at Google) <PARAM NAME="AutoStart" VALUE="-1"> <PARAM NAME="Balance" VALUE="0"> <PARAM NAME="DisplaySize" VALUE="0"> <PARAM NAME="Filename" VALUE=""> <PARAM NAME="Mute" VALUE="0"> <PARAM NAME="SelectionStart" VALUE="-1"> <PARAM NAME="SelectionEnd" VALUE="-1"> <PARAM NAME="ShowControls" VALUE="-1"> <PARAM NAME="ShowAudioControls" VALUE="-1"> <PARAM NAME="ShowDisplay" VALUE="0"> <PARAM NAME="ShowPositionControls" VALUE="-1"> <PARAM NAME="Volume" VALUE="0"> <PARAM NAME="AudioStream" VALUE="-1"> <PARAM NAME="AutoSize" VALUE="0"> <PARAM NAME="AnimationAtStart" VALUE="-1"> <PARAM NAME="AllowScan" VALUE="-1"> <PARAM NAME="AllowChangeDisplaySize" VALUE="-1"> <PARAM NAME="AutoRewind" VALUE="1"> <PARAM NAME="BaseURL" VALUE=""> <PARAM NAME="BufferingTime" VALUE="5"> <PARAM NAME="CaptioningID" VALUE=""> <PARAM NAME="ClickToPlay" VALUE="-1"> <PARAM NAME="CursorType" VALUE="0"> <PARAM NAME="CurrentPosition" VALUE="-1"> <PARAM NAME="CurrentMarker" VALUE="0"> <PARAM NAME="DefaultFrame" VALUE=""> <PARAM NAME="DisplayBackColor" VALUE="0"> <PARAM NAME="DisplayForeColor" VALUE="16777215"> <PARAM NAME="DisplayMode" VALUE="0"> <PARAM NAME="Enabled" VALUE="-1"> <PARAM NAME="EnableContextMenu" VALUE="-1"> <PARAM NAME="EnablePositionControls" VALUE="-1"> <PARAM NAME="EnableFullScreenControls" VALUE="0"> <PARAM NAME="EnableTracker" VALUE="-1"> <PARAM NAME="InvokeURLs" VALUE="-1"> <PARAM NAME="Language" VALUE="-1"> <PARAM NAME="PlayCount" VALUE="1"> <PARAM NAME="PreviewMode" VALUE="0"> <PARAM NAME="Rate" VALUE="1"> <PARAM NAME="SAMILang" VALUE=""> <PARAM NAME="SAMIStyle" VALUE=""> <PARAM NAME="SAMIFileName" VALUE=""> <PARAM NAME="SendOpenStateChangeEvents" VALUE="-1"> <PARAM NAME="SendWarningEvents" VALUE="-1"> <PARAM NAME="SendErrorEvents" VALUE="-1"> <PARAM NAME="SendKeyboardEvents" VALUE="0"> <PARAM NAME="SendMouseClickEvents" VALUE="0"> <PARAM NAME="SendMouseMoveEvents" VALUE="0"> <PARAM NAME="SendPlayStateChangeEvents" VALUE="-1"> <PARAM NAME="ShowCaptioning" VALUE="0"> <PARAM NAME="ShowGotoBar" VALUE=0"> <PARAM NAME="ShowStatusBar" VALUE="0"> <PARAM NAME="ShowTracker" VALUE="-1"> <PARAM NAME="TransparentAtStart" VALUE="-1"> <PARAM NAME="VideoBorderWidth" VALUE="0"> <PARAM NAME="VideoBorderColor" VALUE="0"> <PARAM NAME="VideoBorder3D" VALUE="0"> <PARAM NAME="WindowlessVideo" VALUE="0"> Find out what each parameter does and paste the ones you like inside the code from the other examples. Most of the players work the same (WMP,Real,Quicktime) but there are slight differences in what they can do. I´m shure that helps John |
||
|
|
Junior Mechanic |
I've been spending some hours playing with SiteSpinner and discovered something nice. You all may already know this, but you can click on an image, play a video over it, and then return to the image by placing the static image on one page and the video image on a clone page. Then...
1.) Click on the image to go to the video (set up the link for it). 2.) In prepping the video -- in my case it's a Quicktime file -- I added a "qtnext1" parameter with the target as the static image page. This imbeds it in the video display data and points the browser back to the page with the static image when the video finishes. This way, you can have a series of still image "thumbnails" on a page and return to them automatically when the video finishes. If anyone knows the embedded commands to do this for other file formats, please add them here if you can. I'm working on a way to do it all on the same page -- no luck yet. /l |
|||
|
|
Junior Mechanic |
|
|||
|
|
Working Mechanic |
I have Flash Slideshow Maker Pro and made a slideshow.
The folders in the slideshow directory are: res slides thumbs The other files are: fs_aux.html slides.xml stickley-style library table.html stickley-style library table.swf I went to Import Foreign Object; Foreign Object Media; Format: Flash; then the filepath to (and inserted) the .swf file. In my SiteSpinner, the page where the slide show should be embedded shows Flash Placeholder c:\documents and settings.....stickley-style library table.swf But, no slide show. Any suggestions? Thanks. |
|||
|
|
Guru 'Geezer' Mechanic |
SiteSpinner does not know anything about the support files required by your slideshow. You will need to upload these yourself. Just a guess, but you probably need to copy the entire /slides folder, the entire /thumbs folder and the slides.xml file. Use a 3rd party FTP program and copy these into the /media folder on your site; this is where SiteSpinner should have published your .swf file.
|
|||
|
|
Honorary 'Creative' Mechanic |
What you need to do is to add a code in Code Object where you want the slideshow to appear.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="500" height="400" id="tech" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="stickley-style library table.swf ?xml_path=slides.xml" /> <param name="quality" value="high" /> <embed src="stickley-style library table.swf ?xml_path=slides.xml" quality="high" width="500" height="400" name="tech" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://get.adobe.com/flashplayer/otherversions/"/> </object> and upload all the other files and folders to your root directory. In order to preview you'll need to do the same and place it in your SS Preview folder. Or follow Larry's instruction. (Sorry Larry we obviously wrote at the same time). This message has been edited. Last edited by: Klimt, |
|||
|
|
Working Mechanic |
Thanks Larry. I have not tried to upload (is this the FTP you mention?) to the web. I am just working on my own computer. Maybe I need to upload to my web host before the slideshow will work.
Louise |
|||
|
|
Guru 'Geezer' Mechanic |
Try the SiteSpinner option to publish to a local disk directory. You can then copy the slideshow files into the appropriate locally published directory and view it from your browser.
|
|||
|
|
Working Mechanic |
Thanks Roma and Larry,
I don't understand exactly where the "root" directory is...am assuming that is the directory that has all the files for my slide show. Where is the SS preview directory? I know where the preview arrows are, but not sure where this directory is. Thanks, Louise |
|||
|
|
Guru 'Geezer' Mechanic |
You can find your preview folder by using the Options->Preview Options menu item. You will see the folder name in the Preview Options window.
|
|||
|
|
Honorary 'Aussie' Mechanic |
Your root directory is the folder where your index page is. On your host, it will be something like public_html
To try Larry’s suggestion, create a new folder on your hard drive called something like “MySite”. Now publish your project and click the radio button “Files on disk”. On the Pages tab of the Publisher, there is a section “Local Publish Directory”. Use the navigation button to find the C:\MySite folder you created. Now C:\MySite is the local “root” directory of your site. Follow Roma’s instructions to place the required files in your root directory. Larry has explained how to find your preview folder, it is normally something like C:\Documents and Settings\UserName\Local Settings\Temp\SiteSpinner Pro V2\Preview\ |
|||
|
|
Working Mechanic |
Thank you Post, Roma, Larry,
In combining all your suggestions, it worked. I assume I can use Roma's code for another slideshow, by changing the name of the .swf file name. I also assume, the "MySite" folder was just for a test on my computer and I don't need this folder when I publish to the web. You guys are just great! |
|||
|
|
Honorary 'Aussie' Mechanic |
Yes, you are correct. When you publish to the web, you will publish to your host’s root folder instead of “MySite”.
As I said earlier, it is normally something like “public_html”. |
|||
|
|
Honorary 'Creative' Mechanic |
Your assumption is absolutely correct, Louise. Just change the name of the .swf file name and use it for another slideshow.
|
|||
|
|
Working Mechanic |
Well, this isn't exactly the right post, but since we have been back and forth a few times today....you know what I am doing.
The first slideshow worked fine. I did another slideshow, used another MySite folder, copied the files to that one and to the Preview file, used Roma's code, changing the .swf to the new name. When I previewed, it had the other slideshow. I will try again tomorrow, maybe I missed a step somewhere. Thanks for your continuing support. |
|||
|
|
Honorary 'Aussie' Mechanic |
You can only have one “root” directory for each web site. Your second slide show should go into the same directory and folders as the first. Just change the link for each one to point to the required slide show .
|
|||
|
|
Guru 'Geezer' Mechanic |
The slideshow maker places the images you want to show in a folder named /slides and the thumbnails for those images in a folder named /thumbs. The slides.xml file is a control file which specifies the images to be displayed by the swf player and the transitions you want to use when moving between the images. The swf file is the player and controls when and where the images are displayed and intercepts mouse clicks to show particular images (if you chose this option).
The html file produced is not necessary. It can be used within an SS i-frame, but it does contain the code required for your page as outlined above by Roma. This code also specifies the name of the control xml file, which by default is slides.xml. If you want to use multiple slideshows, you will need to change the name of the 2nd and subsequent xml files or the first file will be used every time (one one file can exist in a single folder/directory with the same name). You will also need to locate this file reference in your code and change it to match the xml file name so the player uses the correct control file. And hopefully you do not use the same file names for the images. If not, all the images and thumbnails can reside in the same /images and /thumbs folders. If the image file names are the same, then you will need to use separate high-level folders for each slideshow and reference these folder name in your code. |
|||
|
|
Working Mechanic |
Larry,
Whoops, guess I didn't read this before I went full-speed ahead. I did want 2 slideshows and now they are mixed up on the pages. I guess I have to empty the temp files and the MySite files to start over. I do have different slideshow names..I only need to find the xml files. I will have to try and figure this out. I wondered how I could copy the files to the Preview folder, when there were already files there. Thanks, I'm sure I will beg more help later! Louise |
|||
|
|
Honorary 'Creative' Mechanic |
Hi Louise,
When you create a Basic Slideshow in FSM it creates only one swf file, that you can add to the SS page as a Foreign Object. When you, on the other hand, use the Advanced Slideshow option then FSM creates several files and folders (as Larry described in the previous post). If you look in My Documents you should have a folder 'Flash Slideshow Maker Professional' - output Unless you have assigned another folder all your FSM folders should be there. I assume that the first slideshow you created was called 'stickley-style library table', if that is correct then you should have a folder with that name. That folder conains then three folders (res, slides and thumbs) and four files (stickley-style library table.swf, stickley-style library table.html, slides.xml and fs_aux.html). The slides.xml file is probably the one you are looking for. If you simply copy the content of the 'stickley-style library table' folder and paste it in the Preview folder then you will be able to preview the slideshow. |
|||
|
|
Working Mechanic |
Thanks Roma,
I got frustrated and "tried" to start completely over, I deleted everything from the MySite folder (where I was going to publish locally to disk) and everything from the SS Preview Folder. Then I: 1. used your code (changed the .swf name to the new slideshow) on the page for the slideshow; 2. Published to MySite 3. Copied all the files from FSM output (before I finalized the FSM project, I changed the name of the xml slide name to SlidesBaja.xml (per Larry's suggestion to change, if 2 slideshows are on project..maybe I shouldn't have done this to the first slideshow?); 4. Copied the FSM files to MySite 5. Copied the FSM to preview folder On the SS preview page, the slideshow music came on, but I got a Load Fail error message. Thanks again, Louise |
|||
|
| Powered by Social Strata | Page 1 2 |
| Please Wait. Your request is being processed... |
|
Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
User's Created Tips and Insights
Embedding video-player in website (a little tutorial).
