TIGER

Typecho视频插件出现加载不出CSS
修改当前使用主题目录下的header.php 需要在 添加 如果没有加入这个字段 打开添加有视频页面会出现...
扫描右侧二维码阅读全文
17
2018/07

Typecho视频插件出现加载不出CSS

修改当前使用主题目录下的header.php
需要在
<head> </head> 添加<script type="text/javascript" src="/usr/plugins/JWPlayer/player/jwplayer.js"></script> 如果没有加入这个字段 打开添加有视频页面会出现CSS被阻塞的现象
示列:

<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<!DOCTYPE HTML>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title><?php $this->archiveTitle(array(
            'category'  =>  _t('分类 %s 下的文章'),
            'search'    =>  _t('包含关键字 %s 的文章'),
            'tag'       =>  _t('标签 %s 下的文章'),
            'author'    =>  _t('%s 发布的文章')
        ), '', ' - '); ?><?php $this->options->title(); ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="shortcut icon" href="<?php $this->options->themeUrl('favicon.ico'); ?>">
    <link rel="stylesheet" type="text/css" href="<?php $this->options->themeUrl('css/atom-one-light.css'); ?>">
    <link rel="stylesheet" type="text/css" href="<?php $this->options->themeUrl('css/font-awesome.min.css'); ?>">
    <link rel="stylesheet" type="text/css" href="<?php $this->options->themeUrl('css/waves.min.css'); ?>">
    <link rel="stylesheet" type="text/css" href="<?php $this->options->themeUrl('css/jquery.fancybox.css'); ?>">
    <link rel="stylesheet" type="text/css" href="<?php $this->options->themeUrl('css/layout.css'); ?>">
    <link rel="stylesheet" type="text/css" href="<?php $this->options->themeUrl('css/adapt.css'); ?>">
    <style type="text/css">
        #instantclick{
            display: none;
        }
    </style>
    <script src="<?php $this->options->themeUrl('js/jquery-2.2.4.min.js'); ?>"></script>
    <script type="text/javascript" src="/usr/plugins/JWPlayer/player/jwplayer.js"></script>

    <?php $this->header(); ?>
</head>
<body>
    <div class="page-loading">
        <div class="page-loading-main">
            <div class="page-loading-one"></div>
            <div class="page-loading-two"></div>
        </div>
    </div>
    <div id="pjax-container">
        <div class="mask"></div>
        <div class="mask2"></div>
        <?php $this->need('navigation.php'); ?>
        <span class="navbar-btn">
            <span class="navbar-btn-line1"></span>
            <span class="navbar-btn-line2"></span>
            <span class="navbar-btn-line3"></span>
        </span>
        <span class="backtop-btn waves-effect waves-button waves-float"><i class="fa fa-angle-up"></i></span>
Last modification:July 17th, 2018 at 01:47 am
If you think my article is useful to you, please feel free to appreciate

One comment

  1. ShyuLee

    感谢博主~问题解决~

Leave a Comment