Short Video as Pasteboard
Hi, does anyone know if it's possible to use a short video as a pasteboard background?
I imported a small mp4 file onto my page.
Under 'Position on page' I selected 'stretch on page'. It allows me to tick this option but nothing happens?
Ideally I'd like full screen auto start.
Thanks
Re: Short Video as Pasteboard
Hi Teeser,
The "Stretch with Page" option, is actually for when your editing your website within Xara, this forces the video to stretch if you decide to increase the length of the page. There is the ability to make objects full width/height, however this cannot be applied to widgets/placeholders, you can insert a video and place it on the Pasteboard layer and resize it, however it's not possible to set it to fit the screen etc.
Re: Short Video as Pasteboard
Hi thanks Ben, thanks for your thoughts.
This is the kind of thing I would like to be able to do: http://www.variousways.com/#section1
I tried with a gif. No joy there either.
Any ideas?
1 Attachment(s)
Re: Short Video as Pasteboard
sure you can
i only tried with a gif, hacked it royally just to try, but...
put the image on the mouse off layer at the top like you would with any other top banner, behind all other objects and make sure that it is as wide as you can make it (centered and wider than the page background by far. i started with 2000px and needed to adjust it in the code. maybe could've just made it wider in xara too. ionno..)
all the remaining sections of the layer must have a transparent background
create the html
edit the index.htm with notepad++ or sublime (or whatever) and search for where it calls the gif towards the top
add the text "position: fixed" and save
open the index.htm with a browser to view it in action. you might see that you also need to change the width value where you just added the position variable too
Code:
<img class="xr_ap" src="index_htm_files/tach_modded_flammed_Blk.gif" alt="" title="" style="left: -453px; top: 93px; width: 2928px; height: 647px; position: fixed"/>
i'm not too up on these things but it took a long time to load in chrome. firefox and edge loaded right away
then, in my case, it would be a bunch of trial and error to get it looking perfect. and i might try an mp4 later too. this video idea seems pretty cool
edit: again, n00b talking here. that is using only one long index page naming the different sections for the nav buttons to link to and pull up. not different pages. might not be that easy using multiple pages
Re: Short Video as Pasteboard
'course you can.
Drop the mp4 onto your page.
Select it and open the Placeholder HTML body (code).
Copy all that and then open the Page bode (code) and place the <object....</object> detail between an outer <div> </div> pair.
Save that and delete the original.
Acorn
Re: Short Video as Pasteboard
hey Acorn...
trying it with an mp4 now, it works the way i explained above which is kinda the wrong way if you update from Xara frequently (cos you gotta go and code it back every time) so your way seems the right way but....
i can't get it to work your way :D
the original still pops up (and autoplays as it is set to do) along with the full width version which does nothing - static image
a little more help purty please :p
Re: Short Video as Pasteboard
Quote:
Originally Posted by
mikeymopar
hey Acorn...
trying it with an mp4 now, it works the way i explained above which is kinda the wrong way if you update from Xara frequently (cos you gotta go and code it back every time) so your way seems the right way but....
i can't get it to work your way :D
the original still pops up (and autoplays as it is set to do) along with the full width version which does nothing - static image
a little more help purty please :p
Mike, Perhaps it was luck when I dragged my mp4 file onto the MouseOff layer and selected AutoPlay.
I copied its Placeholder code as described and then deleted the original.
Everything worked.
The Xara internal browser is reporting back as unsupported format so you need to view it in an external browser - all work for me.
If you see the first frame then it is set up for AutoPlay.
Can you see a control bar pop up at the bottom of the page?
Perhaps there is a conflict with the internal viewer and an external one happening together for the same file?
Sorry it's not doing what I advised,
Acorn
Re: Short Video as Pasteboard
it's all cool acorn. it's difficult to test all variables when one is just testing something quick out to help out someone else.
i played a bit more with it and still couldn't accomplish it within xara alone. the smaller original mp4, even being deleted, still auto-plays at the top and also the mp4 copy fills the page as called for but doesn't auto-play unless clicked (either directly on or using the control bar popup).
no worries. the op has apparently moved on or solved his problem and i just try to learn everything you guys post. i can modify the resulting index.htm after following your steps to get it to function tho it's a little more hidden than the way i described above.
i'm fine as it all stands. thx!
Re: Short Video as Pasteboard
Curiosity got the better of me and I thought how hard would it be to make a video background, here is my attempt:
http://robert74.magix.net/video-background/
I would suggest uploading your video to YouTube and use the project linked on that page to import it into Xara.
Use the ID "xr_xr" for the wrapper.
Thanks
Rob
Re: Short Video as Pasteboard
I forgot to mention it was a powerpoint that was save as a mp4 and then converted it to h264