Yola Tutorial- Embed SWF Files Ep.6

  • 1
  • Idea
  • Updated 8 years ago
Hey guys,

just got tutorial 6 on youtube: https://www.youtube.com/watch?v=OQCPVe...
Make sure you subscribe because I won't be posted here each episode. So this is the last post. I did post the beginning of the tutorial around 2:00 AM EST but I believe most of GS community didn't see it. So enjoy. I will try to make at least one every week.
Photo of lambofgod

lambofgod

  • 875 Posts
  • 35 Reply Likes

Posted 9 years ago

  • 1
Photo of Al Hamill

Al Hamill

  • 11 Posts
  • 0 Reply Likes
I was excited to find this - great video, simply explained. BUT!!!! I clicked on the link to get the html code to embed the swf only to find that the page had no code on it! Can you post this please? I'd love to be able to embed swf.
Photo of Kershnee

Kershnee

  • 2087 Posts
  • 152 Reply Likes
Hi Al Hamill,

Here's how to add a flash file to your page:

1) Upload your .swf file. You can do this by clicking on the File Manager button.
2) Drag and drop a HTML widget onto your site, where you would like to see your flash presentation, and paste the following HTML inside it:

<object width="200" height="400">
<param name="movie"value="resources/myswffile.swf">
<embed src="resources/myswffile.swf"width="200"height="400"/>
</object>

3) Then substitute "myswffile.swf" in the code above - in both places, with the name of the file you uploaded, and you should see the flash movie appear when you close the HTML editor. You'll need to play around with the width and height values in the text above, to suit your movie's needs.
4) Remember to include any folder names in the file path if your file is stored in a folder in the File Manager. For example: "resources/Flash folder/myswffile.swf"
Photo of Al Hamill

Al Hamill

  • 11 Posts
  • 0 Reply Likes
Kershnee,

Thanks for the quick reply. I've tried this and it works - up to a point! To make the flash image big enough I had to change the size parameters (to 600 x 1200). This increased the size of the image, but it's in the middle of a very large box, most of which is white space. Can I increase the size of this box independently from the size of the image within it?

FYI here's the page url I've been testing this out on (it's password protected, but I'm guessing you yola guys can get round that?)

http://lcgeography.synthasite.com/gcs...

Thanks,
Al
Photo of Vlad The Great

Vlad The Great

  • 7 Posts
  • 0 Reply Likes
I got the video to play but the skin is not there. Please help how to get the skin to show which has the control buttons like play/pause etc.
Photo of Kershnee

Kershnee

  • 2087 Posts
  • 152 Reply Likes
Hi - Please can I have the URL of your site that has the video on it.
Photo of Vlad The Great

Vlad The Great

  • 7 Posts
  • 0 Reply Likes
Hi- it's http://www.dejeanentertainment.com What's weird is when I access url of the actual file i.e. http://www.dejeanentertainment.com/re... it has the skin. I'm thinking maybe it's the way I exported the swf file from Flash CS3. Any advice is greatly appreciated. Btw, ty for the fast response!
Photo of Vlad The Great

Vlad The Great

  • 7 Posts
  • 0 Reply Likes
I figured it out. I need to upload a js file to have a custom flash player, which means I need to upgrade to Yola Silver (aka Yola Pro). I'm gonna c if there's a way around js, if not, I'll upgrade.
Photo of Courier's Australia

Courier's Australia

  • 15 Posts
  • 0 Reply Likes
Hi there I am also trying to make the flash fit within the box as an example please see http://samedaycourier.com.au/ there is a large white space between the flash I cant seam to adjust the settings in yola to fix is this down to the flash program? many thanks
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Courier's Austraila

Try going into your HTML code and adjusting the height number from 1300 to something like 400. You may need to play around with this a bit.

You may see two height values - change them both to the same number.

Please let me know if you have any further trouble with this.
Photo of Courier's Australia

Courier's Australia

  • 15 Posts
  • 0 Reply Likes
Hi Sanja - your magic worked many thanks
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hello Christopher,
Since Sanja helped you with this in the past I am going to forward this to her and see if she is able to provide some more assistance. Please allow for 48 hours for her to review the case and respond here. We appreciate your patience in the meantime.

Kind Regards,
Emmy
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Christopher,

Thanks for your patience. If you wish to have the Margin tool, then I suggest adding your code to your Text Widget using the HTML button on your Text Editing toolbar.

I hope that helps!
Photo of christopher

christopher

  • 6 Posts
  • 0 Reply Likes
Thanks for the reply. Could you please explain how to do this. I have a swf file that I would like to move and you say use the HTML button on the text widget which I found. But - how do I get the side show to show or be embedded?

Thank again
Photo of Nazlie

Nazlie

  • 1721 Posts
  • 51 Reply Likes
Hi christopher

Sanja is currently offline. I have notified her about this post and she will reply to you when she is back online.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hi Christopher.

If you have a swf file, this is the code you can use:

<object width="200" height="400">
<param name="movie"value="resources/myswffile.swf">
<embed src="resources/myswffile.swf"width="200"height="400"/>
</object>


Then substitute "myswffile.swf" in the code above - in both places, with the name of the file you uploaded, and you should see the flash movie appear when you close the HTML editor. You'll need to play around with the width and height values in the text above, to suit your movie's needs.

Remember to include any folder names in the file path if your file is stored in a folder in the File Manager.

For example: "resources/Flash folder/myswffile.swf"

Please let me know if you get stuck!