smudboy
Forum Replies Created
-
Not yet. I still don’t know how to load a video and play it automatically on page load through jQuery in a template.
I just want a solution that works.
Previously, I was using
<?php cvgShowCaseWidget(1); ?>
and then
<?php cvgSlideShowWidget(1); ?>Which successfully loaded the gallery. However, I hid that gallery. Now I’m trying to access the object (like, an id of the gallery) to run the video in a popup on page load, instead of having to click on it. I was thinking something like a
getElementByIDcommand.I’m not familiar with jQuery functionalities for loading a file into.
I put it into the
window.onload = function()event, which is the same place I call the video from vimeo.It goes like this:
jQuery.prettyPhoto.open('http://vimeo.com/23856236','Title','Message');I tried doing this:
jQuery.prettyPhoto.open('http://mydns.com/mydir/myvideo.flv?width=600&height=600','Title','Message');but no dice.