Embedding Video Player with HTML Block

Permalink
Having trouble embedding player links with the HTML block. Once I paste the code into the block and save, the block is no longer editable. So if I make a mistake in sizing, for example, I can't edit or delete and end up having to rebuild pages in order to correct. Any ideas what I could be doing wrong? Is there a way to disable the block in edit mode so that I can edit or delete?

Alternatively, if I make a player (through my video server provider) that is responsive instead of a fixed size, it shows up as postage-stamp sized on the page instead of filling the area it's in. What's up with that?

Using 5.7.5.1 and Foundation theme. Thanks!

1 Attachment

HeinoM
View Replies:
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi HeinoM,

After you embed the link, do you have any errors in your browser console?

Can you attach sample embed code and responsive player code for testing.
HeinoM replied on at Permalink Reply 1 Attachment
HeinoM
Hey there. Thanks for the reply.

No, I'm not seeing any errors. I've attached a txt file with the code samples you requested.
Steevb replied on at Permalink Reply
Steevb
url?
HeinoM replied on at Permalink Reply 1 Attachment
HeinoM
Here's a test page with the fixed-size player:
http://vps16276.inmotionhosting.com/~bluehi9/index.php/shows-2/blue...

Here's a test page with the responsive player:
http://vps16276.inmotionhosting.com/~bluehi9/index.php?cID=331...

Both pieces of code are in the attached txt file.
HeinoM replied on at Permalink Reply
HeinoM
Fixed the "responsive" url just now. Pasted the wrong one before.
HeinoM replied on at Permalink Reply
HeinoM
I was just told that for the responsive player to be sized correctly, I need to specify a Container size in the CSS class. Make sense to you? Is that something I just add to the div in the Responsive player code?
MrKDilkington replied on at Permalink Reply
MrKDilkington
@HeinoM,

The reason you can't edit the HTML blocks is that the video player is using a z-index that keeps it on top of the HTML block edit form.

I couldn't find much information online for using this player responsively.

I recommend posting to the Ooyala player forum and e-mailing customer support.
http://community.ooyala.com/t5/Ooyala-Player-Forum/bd-p/Oplayer...
JohntheFish replied on at Permalink Reply
JohntheFish
Have a look at
http://www.concrete5.org/documentation/how-tos/developers/prevent-a...

Its equally applicable to 5.7, but the location of alternate block templates is different.
HeinoM replied on at Permalink Reply
HeinoM
Thanks JohntheFish! I'll give that a shot. Any idea where those block templates are located in 5.7?
JohntheFish replied on at Permalink Reply
JohntheFish
Look for anything to0 do with block templates in the 5.7 developer docs.

Off the top of my head its
appication/blocks/html/templates/your_template_name.php
or
appication/blocks/html/templates/your_template_name/view.php

You probably want the first form above. The second form is more useful when you have template specific css or js to load.
HeinoM replied on at Permalink Reply
HeinoM
Thanks for looking into this. I started with Ooyala support and their response was to go talk to my developer, which unfortunately, is me. So that was really helpful of them! :) I appreciate what you found out about z-index. That at least gives me a better place to start when I contact them again.