1
0

Change Page class method files to meta

This commit is contained in:
Christer Warén 2022-08-01 10:43:15 +03:00
parent bec25bfa5d
commit 3655476608
2 changed files with 3 additions and 3 deletions

View File

@ -112,8 +112,8 @@ if(class_exists('Page')){
</style>
<?php
if(isset($page) && method_exists($page, 'files')) {
$page->files();
if(isset($page) && method_exists($page, 'meta')) {
$page->meta();
}
?>
</head>

View File

@ -6,7 +6,7 @@ class Page {
}
public function files(){
public function meta(){
echo '<link rel="stylesheet" href="https://cdn.cwinfo.net/frameworks/video-js/7.18.1/video-js.min.css" crossorigin="anonymous" media="screen">';
echo '<script type="application/javascript" src="https://cdn.cwinfo.net/frameworks/video-js/7.18.1/video.min.js" crossorigin="anonymous"></script>';
}