Browse Source

Merge branch 'master' of http://47.98.226.240:3000/twt/college

twt 3 years ago
parent
commit
e5be28fd79
1 changed files with 2 additions and 6 deletions
  1. 2 6
      pages/mobile/detail.vue

+ 2 - 6
pages/mobile/detail.vue

@@ -120,12 +120,8 @@
 					console.log('contents1111',this.detailData.contents);
 					
 					if (this.detailData.contents) {
-						var replaceStr = "application/x-shockwave-flash"
-						this.detailData.contents = this.detailData.contents.replace(new RegExp(replaceStr, 'gm'),
-							'iframe') //(/''/g,"video/webm")
-						this.detailData.contents = this.detailData.contents.replace(/<embed([\s\w"-=\/\.:;]+)/ig,
-							'<iframe style="width: 100%;height:300px;" $1');
-							
+						
+						
 						this.detailData.contents = this.detailData.contents.replace(/<iframe([\s\w"-=\/\.:;]+)/ig,
 							'<iframe style="width: 100%;height:300px;" $1');