Topic: fullScreen button for Win Media Player with JavaScript (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=26153" title="Pages that link to Topic: fullScreen button for Win Media Player with JavaScript (Page 1 of 1)" rel="nofollow" >Topic: fullScreen button for Win Media Player with JavaScript <span class="small">(Page 1 of 1)</span>\

 
borrow
Obsessive-Compulsive (I) Inmate

From: Australian living in UK
Insane since: Jul 2005

posted posted 07-04-2005 01:12

Hey Expert!

I need help with 'fullScreen' button functionality for Windows Media Player (WMP).

I use JavaScript file for inserting and setting the video clip for most browsers to work - you can check the JavaScript file:
http://lyndonborrow.com/sample/video_setting.js

And on the HTML page I have...

code:
<html>
<head>
<title>Test</title>
<script src="/sample/video_setting.js" type="text/javascript"></script>
</head>

<body>

<div id="iVideo">
  <script type="text/javascript">fWriteWMV("solvideo", 320, 308, "http://www.sample.org.uk/videos/homepage2-3.wmv")</script>
</div>

</body>
</html>


Now, on the HTML page, I tried to add button on below the WMP for 'Full Screen' view with these...

code:
<a href="javascript:fullScreen();"><IMG SRC="button.jpg" ALT="" width="80" height="80" border="0"></a>


It didn't work???? I tried with alternations, but none worked...... AAARRGGG!!!

Do you know if there's a way to fix, please?


LYNDON BORROW

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 07-04-2005 03:33

Why don't you let people decide for themselves how they want to view it?

borrow
Nervous Wreck (II) Inmate

From: Australian living in UK
Insane since: Jul 2005

posted posted 07-05-2005 13:39
quote:

reisio said:

Why don't you let people decide for themselves how they want to view it?

Yeah, that was the point. What I am trying to do here is to have video clip on web page, and if the person wants to have full-screen view - they can click on button to enlarge. Therefore got to have script for it. Microsoft Dev Network says about programming these but need to adjust a bit for JavaScript functionallity.

Does anyone know please?

LB

(Edited by borrow on 07-05-2005 13:39)



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu