/    Sign up×
Community /Pin to ProfileBookmark

Need help with looping an embeded video

I am not an expert in Java or other programming languages…so keep that in mind. I was asked to help create and post a video to a friend’s page. They use Frontpage. They had a previously embeded video in flash format. They also have several other javascript files being used on the one page where I am having an issue. The problem is, the new file that was put in place does not loop. I need it to. I am using the same file name, so it calls upon the javascript of the previous video. Here is the code; Can someone help me to figure out how to fix this to where the file loops. I tried just adding “loop” and “true”. this does not work and it makes the video not play at all.

[COLOR=”Red”]function embedobj() {
document.write(‘<object classid=”clsid?27CDB6E-AE6D-11cf-96B8-444553540000″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9.0.0.0” width=”438″ height=”328″ ID=”sf” VIEWASTEXT>’);
document.write(‘ <param name=”movie” value=”http://www.taxsolutionssa.com/photos.swf” />’);
document.write(‘ <param name=”quality” value=”high” />’);
document.write(‘ <param name=”wmode” value=”window” />’);
document.write(‘ <param name=”allowScriptAccess” value=”always” />’);
document.write(‘ <param name=”allowFullScreen” value=”True” />’);
document.write(‘ <embed src=”http://www.taxsolutionssa.com/photos.swf” quality=”high” name=”sf” allowScriptAccess=”always” allowFullScreen=”true” pluginspage=”http://www.macromedia.com/go/getflashplayer” type=”application/x-shockwave-flash” width=”438″ height=”328″></embed>’);
document.write(‘</object>’);
}[/COLOR]

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @alcnsports spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.1,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...