You are not logged in.
Pages: 1
Hello, I would like to integrate an HTML page into an application without iframe (), put the page in the window.
I want not:
$myFrame = new Iframe(array(
....
but rather:
function apps_run($params=null) {
echo "my text";
Offline
show some HTML code
For example :
I want to display in window :
<p> my text </p>
Offline
This should work:
$myContainer = new Container(array(
'father' => $father,
'height' => $height,
'name' => $father . '_Container',
'width' => $width,
'x' => $x,
'y' => $y
));
$myContainer->show();
$myContainer->setContent('<p>TODO</p>');
Best regards,
Lars Knickrehm
The oneye project.
Offline
ok thanks !
$myContainer it can be the same size as the window?
height 100% and width 100%
The height is the width adapts to the size of the window.
Last edited by sazearte (2014-11-11 19:01:44)
Offline
I am trying to create a multimedia player for oneye, and I Can not open a video file, the problem comes from the following address:
global $checknum, $myPid, $currentUser;
$userDir = um('getCurrentUserDir');
if (isset($params['arg'][0])) {
$params[0] = $userDir . FILES_USER_DIR . '/' . $params['arg'][0];
}
$video=$params[0];
for example $video= ./users/rt4/root/files/Desktop//test.mp4
and html :
<video width="100%" height="100%" controls="controls" preload="auto">
<!-- MP4 for Safari, IE9, iPhone, iPad, Android, and Windows Phone 7 -->
<source type="video/mp4" src="'.$video.'" />
...
Offline
Pages: 1