Change Page class method files to meta
This commit is contained in:
parent
bec25bfa5d
commit
3655476608
@ -112,8 +112,8 @@ if(class_exists('Page')){
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if(isset($page) && method_exists($page, 'files')) {
|
if(isset($page) && method_exists($page, 'meta')) {
|
||||||
$page->files();
|
$page->meta();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</head>
|
</head>
|
||||||
|
@ -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 '<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>';
|
echo '<script type="application/javascript" src="https://cdn.cwinfo.net/frameworks/video-js/7.18.1/video.min.js" crossorigin="anonymous"></script>';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user