|
@@ -69,7 +69,7 @@
|
|
});
|
|
});
|
|
var dom = document.getElementById("content_demo");
|
|
var dom = document.getElementById("content_demo");
|
|
if(data.content && dom){
|
|
if(data.content && dom){
|
|
- if(data.content.indexOf('video')){
|
|
|
|
|
|
+ if(data.content.indexOf('video') !== -1){
|
|
let tempList = data.content.split('video');
|
|
let tempList = data.content.split('video');
|
|
//修改video标签的样式
|
|
//修改video标签的样式
|
|
tempList[0] += 'video style="width: 100%;"';
|
|
tempList[0] += 'video style="width: 100%;"';
|