Having trouble with video in html...

User 2111907 Photo


Registered User
4 posts

Hiya everyone
I have done a website in rlm and now converting it to html, the problem i got is that it says
The file or directory could not be found.
<div class="coffee-span-6">
<object width="425" height="373">

<iframe width="420" height="315" src="//www.youtube.com/embed/Ga180fYIxqY" frameborder="0" allowfullscreen></iframe>

</a>
</div>
thats my code
please can you help thanks wendy
User 187934 Photo


Senior Advisor
20,190 posts

Try this.
<iframe width="420" height="315" src="https//www.youtube.com/embed/Ga180fYIxqY" frameborder="0" allowfullscreen></iframe>

I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 38401 Photo


Senior Advisor
10,951 posts

I don't think your Youtube address is correct. Trying to go straight to that location and it goes to a search so double check that you have the correct web address for the video you're trying to show on your site and correct it so it's the right location and you should be fine either way that you try to use it.
User 2111907 Photo


Registered User
4 posts

Hiya guys thanks the http was missing

thanks again wendy

User 2111907 Photo


Registered User
4 posts

HIYA GUYS
i got the video to play i need to align to the center of my website .this is my code
<div class="row row-3">
<div class="coffee-span-6">
<object width="425" height="373">

<iframe width="420" height="315" src="http://www.youtube.com/embed/Ga180fYIxqY" frameborder="0" allowfullscreen></iframe> </div>

thanks again
User 434929 Photo


Ambassador
938 posts

It seems you made your HTML document with RLM , why not set the video container align to the center within RLM itself before you export .

watch following video to get the idea.
http://www.youtube.com/watch?v=eMEPA5PuYAY
Guys at coffeecup are awesometacular.
User 434929 Photo


Ambassador
938 posts

By the way, you set your row is 6 span <div class="coffee-span-6">
How do you want to set it in center without using offset feature (push / pull 3 spans)?

Note:
what I see through your code you didn't utilized RLM features well, but anyway it's an options and personal choice .
In my personal opinion is not a best practice to have too many rows, I usually will have one row for a single page and the rest will be columns.

watch the above video tutorial first then you will know how it's done , if not try following code see if the works.
make sure change the display from display: inline-block; to display: block;
an example as follow:

your video container class {
display: block;
margin-right: auto;
margin-left: auto;
}
Guys at coffeecup are awesometacular.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.