Recent Topics

How to include java in a post e.g. flowplayer?

Started by on Nov 05, 2011 – Contents updated: Nov 05, 2011

Nov 05, 2011 14:05    

Hello,

I would like to include java in a post, just like you can do in a html page (example at the end of this post).

The reason to do so is e.g. to play a video with flowplayer.

Problem includes:
- refering to a script
- refering to a swf file
- refering to a related style sheet

No Idea how to do that.

I searched the forum and have the impression it is not possible :(

Could be that it is complex, that the script should be executed by a (non existing??) plugin and the style sheet should be added to the blogs style definition etc.

I am not at all an expert in this aria, I hope some one has a solution.

Louis

<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!-- A minimal Flowplayer setup to get you started -->

<!--
include flowplayer JavaScript file that does
Flash embedding and provides the Flowplayer API.
-->
<script type="text/javascript" src="flowplayer.min.js"></script>

<!-- some minimal styling, can be removed -->
<link rel="stylesheet" type="text/css" href="style.css">

<!-- page title -->
<title>Minimal Flowplayer setup</title>

</head><body>

<div id="page">

<h1>Minimal Flowplayer setup</h1>

<p>View commented source code to get familiar with Flowplayer installation.</p>

<!-- this A tag is where your Flowplayer will be placed. it can be anywhere -->
<a
href="welkom.flv"
style="display:block;width:520px;height:330px"
id="player">
</a>

<!-- this will install flowplayer inside previous A- tag. -->
<script>
flowplayer("player", "/swf/flowplayer.swf");
</script>

</div>

</body></html>


Form is loading...

Secure CMS – This forum is powered by b2evolution CMS, a complete engine for your website.